55 * Description: A robust scheduling library for use in WordPress plugins.
66 * Author: Automattic
77 * Author URI: https://automattic.com/
8- * Version: 3.9.2
8+ * Version: 3.9.3
99 * License: GPLv3
1010 * Requires at least: 6.5
11- * Tested up to: 6.7
11+ * Tested up to: 6.8
1212 * Requires PHP: 7.2
1313 *
1414 * Copyright 2019 Automattic, Inc. (https://automattic.com/contact/)
2929 * @package ActionScheduler
3030 */
3131
32- if ( ! function_exists ( 'action_scheduler_register_3_dot_9_dot_2 ' ) && function_exists ( 'add_action ' ) ) { // WRCS: DEFINED_VERSION.
32+ if ( ! function_exists ( 'action_scheduler_register_3_dot_9_dot_3 ' ) && function_exists ( 'add_action ' ) ) { // WRCS: DEFINED_VERSION.
3333
3434 if ( ! class_exists ( 'ActionScheduler_Versions ' , false ) ) {
3535 require_once __DIR__ . '/classes/ActionScheduler_Versions.php ' ;
3636 add_action ( 'plugins_loaded ' , array ( 'ActionScheduler_Versions ' , 'initialize_latest_version ' ), 1 , 0 );
3737 }
3838
39- add_action ( 'plugins_loaded ' , 'action_scheduler_register_3_dot_9_dot_2 ' , 0 , 0 ); // WRCS: DEFINED_VERSION.
39+ add_action ( 'plugins_loaded ' , 'action_scheduler_register_3_dot_9_dot_3 ' , 0 , 0 ); // WRCS: DEFINED_VERSION.
4040
4141 // phpcs:disable Generic.Functions.OpeningFunctionBraceKernighanRitchie.ContentAfterBrace
4242 /**
4343 * Registers this version of Action Scheduler.
4444 */
45- function action_scheduler_register_3_dot_9_dot_2 () { // WRCS: DEFINED_VERSION.
45+ function action_scheduler_register_3_dot_9_dot_3 () { // WRCS: DEFINED_VERSION.
4646 $ versions = ActionScheduler_Versions::instance ();
47- $ versions ->register ( '3.9.2 ' , 'action_scheduler_initialize_3_dot_9_dot_2 ' ); // WRCS: DEFINED_VERSION.
47+ $ versions ->register ( '3.9.3 ' , 'action_scheduler_initialize_3_dot_9_dot_3 ' ); // WRCS: DEFINED_VERSION.
4848 }
4949
5050 // phpcs:disable Generic.Functions.OpeningFunctionBraceKernighanRitchie.ContentAfterBrace
5151 /**
5252 * Initializes this version of Action Scheduler.
5353 */
54- function action_scheduler_initialize_3_dot_9_dot_2 () { // WRCS: DEFINED_VERSION.
54+ function action_scheduler_initialize_3_dot_9_dot_3 () { // WRCS: DEFINED_VERSION.
5555 // A final safety check is required even here, because historic versions of Action Scheduler
5656 // followed a different pattern (in some unusual cases, we could reach this point and the
5757 // ActionScheduler class is already defined—so we need to guard against that).
@@ -63,7 +63,7 @@ function action_scheduler_initialize_3_dot_9_dot_2() { // WRCS: DEFINED_VERSION.
6363
6464 // Support usage in themes - load this version if no plugin has loaded a version yet.
6565 if ( did_action ( 'plugins_loaded ' ) && ! doing_action ( 'plugins_loaded ' ) && ! class_exists ( 'ActionScheduler ' , false ) ) {
66- action_scheduler_initialize_3_dot_9_dot_2 (); // WRCS: DEFINED_VERSION.
66+ action_scheduler_initialize_3_dot_9_dot_3 (); // WRCS: DEFINED_VERSION.
6767 do_action ( 'action_scheduler_pre_theme_init ' );
6868 ActionScheduler_Versions::initialize_latest_version ();
6969 }
0 commit comments