Skip to content

Commit

Permalink
bump version to 2.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
rrennick committed Apr 24, 2019
1 parent 0d1c8fc commit fd7c6b7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions action-scheduler.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
* Plugin URI: https://actionscheduler.org
* Description: A robust scheduling library for use in WordPress plugins.
* Author: Prospress
* Author URI: http://prospress.com/
* Version: 2.2.4
* Author URI: https://prospress.com/
* Version: 2.2.5
* License: GPLv3
*
* Copyright 2019 Prospress, Inc. (email : [email protected])
Expand All @@ -25,21 +25,21 @@
*
*/

if ( ! function_exists( 'action_scheduler_register_2_dot_2_dot_4' ) ) {
if ( ! function_exists( 'action_scheduler_register_2_dot_2_dot_5' ) ) {

if ( ! class_exists( 'ActionScheduler_Versions' ) ) {
require_once( 'classes/ActionScheduler_Versions.php' );
add_action( 'plugins_loaded', array( 'ActionScheduler_Versions', 'initialize_latest_version' ), 1, 0 );
}

add_action( 'plugins_loaded', 'action_scheduler_register_2_dot_2_dot_4', 0, 0 );
add_action( 'plugins_loaded', 'action_scheduler_register_2_dot_2_dot_5', 0, 0 );

function action_scheduler_register_2_dot_2_dot_4() {
function action_scheduler_register_2_dot_2_dot_5() {
$versions = ActionScheduler_Versions::instance();
$versions->register( '2.2.4', 'action_scheduler_initialize_2_dot_2_dot_4' );
$versions->register( '2.2.5', 'action_scheduler_initialize_2_dot_2_dot_5' );
}

function action_scheduler_initialize_2_dot_2_dot_4() {
function action_scheduler_initialize_2_dot_2_dot_5() {
require_once( 'classes/ActionScheduler.php' );
ActionScheduler::init( __FILE__ );
}
Expand Down

0 comments on commit fd7c6b7

Please sign in to comment.