Changeset 2786022
- Timestamp:
- 09/16/2022 03:34:51 PM (3 years ago)
- Location:
- action-scheduler
- Files:
-
- 2 edited
-
tags/3.5.1/action-scheduler.php (modified) (4 diffs)
-
trunk/action-scheduler.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
action-scheduler/tags/3.5.1/action-scheduler.php
r2784104 r2786022 27 27 */ 28 28 29 if ( ! function_exists( 'action_scheduler_register_3_dot_5_dot_ 0' ) && function_exists( 'add_action' ) ) {29 if ( ! function_exists( 'action_scheduler_register_3_dot_5_dot_1' ) && function_exists( 'add_action' ) ) { 30 30 31 31 if ( ! class_exists( 'ActionScheduler_Versions', false ) ) { … … 34 34 } 35 35 36 add_action( 'plugins_loaded', 'action_scheduler_register_3_dot_5_dot_ 0', 0, 0 );36 add_action( 'plugins_loaded', 'action_scheduler_register_3_dot_5_dot_1', 0, 0 ); 37 37 38 38 /** 39 39 * Registers this version of Action Scheduler. 40 40 */ 41 function action_scheduler_register_3_dot_5_dot_ 0() {41 function action_scheduler_register_3_dot_5_dot_1() { 42 42 $versions = ActionScheduler_Versions::instance(); 43 $versions->register( '3.5. 0', 'action_scheduler_initialize_3_dot_5_dot_0' );43 $versions->register( '3.5.1', 'action_scheduler_initialize_3_dot_5_dot_1' ); 44 44 } 45 45 … … 47 47 * Initializes this version of Action Scheduler. 48 48 */ 49 function action_scheduler_initialize_3_dot_5_dot_ 0() {49 function action_scheduler_initialize_3_dot_5_dot_1() { 50 50 // A final safety check is required even here, because historic versions of Action Scheduler 51 51 // followed a different pattern (in some unusual cases, we could reach this point and the … … 59 59 // Support usage in themes - load this version if no plugin has loaded a version yet. 60 60 if ( did_action( 'plugins_loaded' ) && ! doing_action( 'plugins_loaded' ) && ! class_exists( 'ActionScheduler', false ) ) { 61 action_scheduler_initialize_3_dot_5_dot_ 0();61 action_scheduler_initialize_3_dot_5_dot_1(); 62 62 do_action( 'action_scheduler_pre_theme_init' ); 63 63 ActionScheduler_Versions::initialize_latest_version(); -
action-scheduler/trunk/action-scheduler.php
r2784104 r2786022 27 27 */ 28 28 29 if ( ! function_exists( 'action_scheduler_register_3_dot_5_dot_ 0' ) && function_exists( 'add_action' ) ) {29 if ( ! function_exists( 'action_scheduler_register_3_dot_5_dot_1' ) && function_exists( 'add_action' ) ) { 30 30 31 31 if ( ! class_exists( 'ActionScheduler_Versions', false ) ) { … … 34 34 } 35 35 36 add_action( 'plugins_loaded', 'action_scheduler_register_3_dot_5_dot_ 0', 0, 0 );36 add_action( 'plugins_loaded', 'action_scheduler_register_3_dot_5_dot_1', 0, 0 ); 37 37 38 38 /** 39 39 * Registers this version of Action Scheduler. 40 40 */ 41 function action_scheduler_register_3_dot_5_dot_ 0() {41 function action_scheduler_register_3_dot_5_dot_1() { 42 42 $versions = ActionScheduler_Versions::instance(); 43 $versions->register( '3.5. 0', 'action_scheduler_initialize_3_dot_5_dot_0' );43 $versions->register( '3.5.1', 'action_scheduler_initialize_3_dot_5_dot_1' ); 44 44 } 45 45 … … 47 47 * Initializes this version of Action Scheduler. 48 48 */ 49 function action_scheduler_initialize_3_dot_5_dot_ 0() {49 function action_scheduler_initialize_3_dot_5_dot_1() { 50 50 // A final safety check is required even here, because historic versions of Action Scheduler 51 51 // followed a different pattern (in some unusual cases, we could reach this point and the … … 59 59 // Support usage in themes - load this version if no plugin has loaded a version yet. 60 60 if ( did_action( 'plugins_loaded' ) && ! doing_action( 'plugins_loaded' ) && ! class_exists( 'ActionScheduler', false ) ) { 61 action_scheduler_initialize_3_dot_5_dot_ 0();61 action_scheduler_initialize_3_dot_5_dot_1(); 62 62 do_action( 'action_scheduler_pre_theme_init' ); 63 63 ActionScheduler_Versions::initialize_latest_version();
Note: See TracChangeset
for help on using the changeset viewer.