8
8
* Version: 3.9.1
9
9
* License: GPLv3
10
10
* Requires at least: 6.5
11
- * Tested up to: 6.7
11
+ * Tested up to: 6.5
12
12
* Requires PHP: 7.1
13
13
*
14
14
* Copyright 2019 Automattic, Inc. (https://automattic.com/contact/)
29
29
* @package ActionScheduler
30
30
*/
31
31
32
- if ( ! function_exists ( 'action_scheduler_register_3_dot_9_dot_0 ' ) && function_exists ( 'add_action ' ) ) { // WRCS: DEFINED_VERSION.
32
+ if ( ! function_exists ( 'action_scheduler_register_3_dot_9_dot_1 ' ) && function_exists ( 'add_action ' ) ) { // WRCS: DEFINED_VERSION.
33
33
34
34
if ( ! class_exists ( 'ActionScheduler_Versions ' , false ) ) {
35
35
require_once __DIR__ . '/classes/ActionScheduler_Versions.php ' ;
36
36
add_action ( 'plugins_loaded ' , array ( 'ActionScheduler_Versions ' , 'initialize_latest_version ' ), 1 , 0 );
37
37
}
38
38
39
- add_action ( 'plugins_loaded ' , 'action_scheduler_register_3_dot_9_dot_0 ' , 0 , 0 ); // WRCS: DEFINED_VERSION.
39
+ add_action ( 'plugins_loaded ' , 'action_scheduler_register_3_dot_9_dot_1 ' , 0 , 0 ); // WRCS: DEFINED_VERSION.
40
40
41
41
// phpcs:disable Generic.Functions.OpeningFunctionBraceKernighanRitchie.ContentAfterBrace
42
42
/**
43
43
* Registers this version of Action Scheduler.
44
44
*/
45
- function action_scheduler_register_3_dot_9_dot_0 () { // WRCS: DEFINED_VERSION.
45
+ function action_scheduler_register_3_dot_9_dot_1 () { // WRCS: DEFINED_VERSION.
46
46
$ versions = ActionScheduler_Versions::instance ();
47
- $ versions ->register ( '3.9.0 ' , 'action_scheduler_initialize_3_dot_9_dot_0 ' ); // WRCS: DEFINED_VERSION.
47
+ $ versions ->register ( '3.9.1 ' , 'action_scheduler_initialize_3_dot_9_dot_1 ' ); // WRCS: DEFINED_VERSION.
48
48
}
49
49
50
50
// phpcs:disable Generic.Functions.OpeningFunctionBraceKernighanRitchie.ContentAfterBrace
51
51
/**
52
52
* Initializes this version of Action Scheduler.
53
53
*/
54
- function action_scheduler_initialize_3_dot_9_dot_0 () { // WRCS: DEFINED_VERSION.
54
+ function action_scheduler_initialize_3_dot_9_dot_1 () { // WRCS: DEFINED_VERSION.
55
55
// A final safety check is required even here, because historic versions of Action Scheduler
56
56
// followed a different pattern (in some unusual cases, we could reach this point and the
57
57
// ActionScheduler class is already defined—so we need to guard against that).
@@ -63,7 +63,7 @@ function action_scheduler_initialize_3_dot_9_dot_0() { // WRCS: DEFINED_VERSION.
63
63
64
64
// Support usage in themes - load this version if no plugin has loaded a version yet.
65
65
if ( did_action ( 'plugins_loaded ' ) && ! doing_action ( 'plugins_loaded ' ) && ! class_exists ( 'ActionScheduler ' , false ) ) {
66
- action_scheduler_initialize_3_dot_9_dot_0 (); // WRCS: DEFINED_VERSION.
66
+ action_scheduler_initialize_3_dot_9_dot_1 (); // WRCS: DEFINED_VERSION.
67
67
do_action ( 'action_scheduler_pre_theme_init ' );
68
68
ActionScheduler_Versions::initialize_latest_version ();
69
69
}
0 commit comments