PluginProbe
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder / 2.14.0
aBlocks – Gutenberg Blocks, User Dashboard Builder, Popup Builder, Form Builder & Animation Builder v2.14.0
2.14.0 2.13.0 2.13.1 2.12.0 2.11.1 2.11.0 2.10.0 2.9.0 2.7.4 2.7.5 2.7.6 2.7.7 2.8.0 2.8.1 2.9.1 trunk 1.0 1.0-beta1 1.0-beta2 1.0-beta3 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 All 81 releases
← All changes | vendor/storeengine/wordpress-sdk/init.php +7 -7 2.11.0 → 2.14.0 View file →
@@ -31,9 +31,9 @@
31 31 // never register their version. To be immune to load order, require this file
32 32 // DIRECTLY (require_once '.../vendor/storeengine/wordpress-sdk/init.php') rather
33 33 // than relying solely on Composer autoload. See README "loading order".
34 34
35 -if ( ! function_exists( 'se_license_manager_register_1_dot_5_dot_5' ) && function_exists( 'add_action' ) ) { // WRCS: DEFINED_VERSION.
35 +if ( ! function_exists( 'se_license_manager_register_1_dot_5_dot_7' ) && function_exists( 'add_action' ) ) { // WRCS: DEFINED_VERSION.
36 36
37 37 if ( ! class_exists( 'SE_License_SDK_Version_Manager', false ) ) {
38 38 require_once __DIR__ . '/classes/SE_License_SDK_Version_Manager.php';
39 39 add_action( 'plugins_loaded', [ 'SE_License_SDK_Version_Manager', 'initialize_latest_version' ], 1, 0 );
@@ -38,17 +38,17 @@
38 38 require_once __DIR__ . '/classes/SE_License_SDK_Version_Manager.php';
39 39 add_action( 'plugins_loaded', [ 'SE_License_SDK_Version_Manager', 'initialize_latest_version' ], 1, 0 );
40 40 }
41 41
42 - add_action( 'plugins_loaded', 'se_license_manager_register_1_dot_5_dot_5', 0, 0 ); // WRCS: DEFINED_VERSION.
42 + add_action( 'plugins_loaded', 'se_license_manager_register_1_dot_5_dot_7', 0, 0 ); // WRCS: DEFINED_VERSION.
43 43
44 44 // phpcs:disable Generic.Functions.OpeningFunctionBraceKernighanRitchie.ContentAfterBrace
45 45 /**
46 46 * Registers this version of SE_License_SDK.
47 47 */
48 - function se_license_manager_register_1_dot_5_dot_5() { // WRCS: DEFINED_VERSION.
48 + function se_license_manager_register_1_dot_5_dot_7() { // WRCS: DEFINED_VERSION.
49 49 $versions = SE_License_SDK_Version_Manager::instance();
50 - $versions->register( '1.5.5', 'se_license_manager_initialize_1_dot_5_dot_5' ); // WRCS: DEFINED_VERSION.
50 + $versions->register( '1.5.7', 'se_license_manager_initialize_1_dot_5_dot_7' ); // WRCS: DEFINED_VERSION.
51 51 }
52 52
53 53 // phpcs:disable Generic.Functions.OpeningFunctionBraceKernighanRitchie.ContentAfterBrace
54 54 /**
@@ -53,21 +53,21 @@
53 53 // phpcs:disable Generic.Functions.OpeningFunctionBraceKernighanRitchie.ContentAfterBrace
54 54 /**
55 55 * Initializes this version of Action Scheduler.
56 56 */
57 - function se_license_manager_initialize_1_dot_5_dot_5() { // WRCS: DEFINED_VERSION.
57 + function se_license_manager_initialize_1_dot_5_dot_7() { // WRCS: DEFINED_VERSION.
58 58 // A final safety check is required even here, because historic versions of Action Scheduler
59 59 // followed a different pattern. (In some unusual cases, we could reach this point and the
60 60 // SE_License_SDK class is already defined—so we need to guard against that.)
61 61 if ( ! class_exists( 'SE_License_SDK', false ) ) {
62 62 require_once __DIR__ . '/classes/abstracts/SE_License_SDK.php';
63 - SE_License_SDK::init( __FILE__, '1.5.5' );
63 + SE_License_SDK::init( __FILE__, '1.5.7' );
64 64 }
65 65 }
66 66
67 67 // Support usage in themes - load this version if no plugin has loaded a version yet.
68 68 if ( did_action( 'plugins_loaded' ) && ! doing_action( 'plugins_loaded' ) && ! class_exists( 'SE_License_SDK', false ) ) {
69 - se_license_manager_initialize_1_dot_5_dot_5(); // WRCS: DEFINED_VERSION.
69 + se_license_manager_initialize_1_dot_5_dot_7(); // WRCS: DEFINED_VERSION.
70 70 do_action( 'action_scheduler_pre_theme_init' );
71 71 SE_License_SDK_Version_Manager::initialize_latest_version();
72 72 }
73 73 }