| @@ -29,12 +29,12 @@ | ||
| 29 | 29 | } |
| 30 | 30 | |
| 31 | 31 | $pattern = '#/([^/]+)/vendor/elementor/#'; |
| 32 | 32 | if ( preg_match( $pattern, __DIR__, $matches ) ) { |
| 33 | - $elementor_mcp_composer_versions[ $matches[1] ] = '1.0.17'; | |
| 33 | + $elementor_mcp_composer_versions[ $matches[1] ] = '1.0.18'; | |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | -if ( ! function_exists( 'elementor_mcp_composer_register_1_dot_0_dot_17' ) && function_exists( 'add_action' ) ) { | |
| 36 | +if ( ! function_exists( 'elementor_mcp_composer_register_1_dot_0_dot_18' ) && function_exists( 'add_action' ) ) { | |
| 37 | 37 | |
| 38 | 38 | if ( ! class_exists( '\Elementor\MCP\Composer\Versions', false ) ) { |
| 39 | 39 | require_once __DIR__ . '/src/Versions.php'; |
| 40 | 40 | add_action( 'plugins_loaded', [ \Elementor\MCP\Composer\Versions::class, 'initialize_latest_version' ], -15, 0 ); |
| @@ -39,9 +39,9 @@ | ||
| 39 | 39 | require_once __DIR__ . '/src/Versions.php'; |
| 40 | 40 | add_action( 'plugins_loaded', [ \Elementor\MCP\Composer\Versions::class, 'initialize_latest_version' ], -15, 0 ); |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | - add_action( 'plugins_loaded', 'elementor_mcp_composer_register_1_dot_0_dot_17', -20, 0 ); | |
| 43 | + add_action( 'plugins_loaded', 'elementor_mcp_composer_register_1_dot_0_dot_18', -20, 0 ); | |
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | 46 | * Register this package version with the version arbitrator. |
| 47 | 47 | * |
| @@ -46,11 +46,11 @@ | ||
| 46 | 46 | * Register this package version with the version arbitrator. |
| 47 | 47 | * |
| 48 | 48 | * @return void |
| 49 | 49 | */ |
| 50 | - function elementor_mcp_composer_register_1_dot_0_dot_17() { | |
| 50 | + function elementor_mcp_composer_register_1_dot_0_dot_18() { | |
| 51 | 51 | $versions = \Elementor\MCP\Composer\Versions::instance(); |
| 52 | - $versions->register( '1.0.17', 'elementor_mcp_composer_initialize_1_dot_0_dot_17' ); | |
| 52 | + $versions->register( '1.0.18', 'elementor_mcp_composer_initialize_1_dot_0_dot_18' ); | |
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | /** |
| 56 | 56 | * Initialize this package version when selected as the latest. |
| @@ -56,8 +56,8 @@ | ||
| 56 | 56 | * Initialize this package version when selected as the latest. |
| 57 | 57 | * |
| 58 | 58 | * @return void |
| 59 | 59 | */ |
| 60 | - function elementor_mcp_composer_initialize_1_dot_0_dot_17() { | |
| 60 | + function elementor_mcp_composer_initialize_1_dot_0_dot_18() { | |
| 61 | 61 | \Elementor\MCP\Composer\Loader::init(); |
| 62 | 62 | } |
| 63 | 63 | } |