Skip to content

Commit

Permalink
Tag version 2.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
thenbrent committed Mar 28, 2019
1 parent 6532f5d commit 4d221dc
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions action-scheduler.php
Expand Up @@ -5,7 +5,7 @@
* Description: A robust scheduling library for use in WordPress plugins. * Description: A robust scheduling library for use in WordPress plugins.
* Author: Prospress * Author: Prospress
* Author URI: http://prospress.com/ * Author URI: http://prospress.com/
* Version: 2.2.2 * Version: 2.2.3
* License: GPLv3 * License: GPLv3
* *
* Copyright 2019 Prospress, Inc. (email : freedoms@prospress.com) * Copyright 2019 Prospress, Inc. (email : freedoms@prospress.com)
Expand All @@ -25,21 +25,21 @@
* *
*/ */


if ( ! function_exists( 'action_scheduler_register_2_dot_2_dot_2' ) ) { if ( ! function_exists( 'action_scheduler_register_2_dot_2_dot_3' ) ) {


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


add_action( 'plugins_loaded', 'action_scheduler_register_2_dot_2_dot_2', 0, 0 ); add_action( 'plugins_loaded', 'action_scheduler_register_2_dot_2_dot_3', 0, 0 );


function action_scheduler_register_2_dot_2_dot_2() { function action_scheduler_register_2_dot_2_dot_3() {
$versions = ActionScheduler_Versions::instance(); $versions = ActionScheduler_Versions::instance();
$versions->register( '2.2.2', 'action_scheduler_initialize_2_dot_2_dot_2' ); $versions->register( '2.2.3', 'action_scheduler_initialize_2_dot_2_dot_3' );
} }


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

0 comments on commit 4d221dc

Please sign in to comment.