diff --git a/composer.lock b/composer.lock index 1e3b16a3..2385d9b6 100644 --- a/composer.lock +++ b/composer.lock @@ -625,16 +625,16 @@ }, { "name": "wp-cli/i18n-command", - "version": "v2.4.3", + "version": "v2.4.4", "source": { "type": "git", "url": "https://github.com/wp-cli/i18n-command.git", - "reference": "203b020318fe2596a218bf52db25adc6b187f42d" + "reference": "7d82e675f271359b1af614e6325d8eeaeb7d7474" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/i18n-command/zipball/203b020318fe2596a218bf52db25adc6b187f42d", - "reference": "203b020318fe2596a218bf52db25adc6b187f42d", + "url": "https://api.github.com/repos/wp-cli/i18n-command/zipball/7d82e675f271359b1af614e6325d8eeaeb7d7474", + "reference": "7d82e675f271359b1af614e6325d8eeaeb7d7474", "shasum": "" }, "require": { @@ -645,7 +645,7 @@ }, "require-dev": { "wp-cli/scaffold-command": "^1.2 || ^2", - "wp-cli/wp-cli-tests": "^3.1" + "wp-cli/wp-cli-tests": "^4" }, "suggest": { "ext-json": "Used for reading and generating JSON translation files", @@ -687,9 +687,9 @@ "homepage": "https://github.com/wp-cli/i18n-command", "support": { "issues": "https://github.com/wp-cli/i18n-command/issues", - "source": "https://github.com/wp-cli/i18n-command/tree/v2.4.3" + "source": "https://github.com/wp-cli/i18n-command/tree/v2.4.4" }, - "time": "2023-03-24T18:15:59+00:00" + "time": "2023-08-30T18:00:10+00:00" }, { "name": "wp-cli/mustangostang-spyc", @@ -744,16 +744,16 @@ }, { "name": "wp-cli/php-cli-tools", - "version": "v0.11.19", + "version": "v0.11.21", "source": { "type": "git", "url": "https://github.com/wp-cli/php-cli-tools.git", - "reference": "2d27f0db5c36f5aa0064abecddd6d05f28c4d001" + "reference": "b3457a8d60cd0b1c48cab76ad95df136d266f0b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wp-cli/php-cli-tools/zipball/2d27f0db5c36f5aa0064abecddd6d05f28c4d001", - "reference": "2d27f0db5c36f5aa0064abecddd6d05f28c4d001", + "url": "https://api.github.com/repos/wp-cli/php-cli-tools/zipball/b3457a8d60cd0b1c48cab76ad95df136d266f0b6", + "reference": "b3457a8d60cd0b1c48cab76ad95df136d266f0b6", "shasum": "" }, "require": { @@ -761,7 +761,7 @@ }, "require-dev": { "roave/security-advisories": "dev-latest", - "wp-cli/wp-cli-tests": "^3.1.6" + "wp-cli/wp-cli-tests": "^4" }, "type": "library", "extra": { @@ -801,9 +801,9 @@ ], "support": { "issues": "https://github.com/wp-cli/php-cli-tools/issues", - "source": "https://github.com/wp-cli/php-cli-tools/tree/v0.11.19" + "source": "https://github.com/wp-cli/php-cli-tools/tree/v0.11.21" }, - "time": "2023-07-21T11:37:15+00:00" + "time": "2023-09-29T15:28:10+00:00" }, { "name": "wp-cli/wp-cli", diff --git a/lib/composer.lock b/lib/composer.lock index 2585a4b0..538408b5 100644 --- a/lib/composer.lock +++ b/lib/composer.lock @@ -285,16 +285,16 @@ }, { "name": "publishpress/wordpress-reviews", - "version": "v1.1.19", + "version": "v1.1.20", "source": { "type": "git", "url": "https://github.com/publishpress/library-wordpress-reviews.git", - "reference": "028e573eb7c5da2455a7a823cabbbe5e3f89ca9c" + "reference": "6d0b687a66439721b0432ef1320fd818cd56309f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/publishpress/library-wordpress-reviews/zipball/028e573eb7c5da2455a7a823cabbbe5e3f89ca9c", - "reference": "028e573eb7c5da2455a7a823cabbbe5e3f89ca9c", + "url": "https://api.github.com/repos/publishpress/library-wordpress-reviews/zipball/6d0b687a66439721b0432ef1320fd818cd56309f", + "reference": "6d0b687a66439721b0432ef1320fd818cd56309f", "shasum": "" }, "require": { @@ -313,7 +313,6 @@ "overtrue/phplint": "^2.1", "phpmd/phpmd": "^2.8", "publishpress/publishpress-plugin-builder": "^1.2", - "sebastian/phpcpd": "^5.0", "squizlabs/php_codesniffer": "^3.5", "wp-cli/i18n-command": "^2.2", "wp-cli/wp-cli": "^2.5" @@ -347,22 +346,22 @@ ], "support": { "issues": "https://github.com/publishpress/library-wordpress-reviews/issues", - "source": "https://github.com/publishpress/library-wordpress-reviews/tree/v1.1.19" + "source": "https://github.com/publishpress/library-wordpress-reviews/tree/v1.1.20" }, - "time": "2022-06-03T13:38:53+00:00" + "time": "2023-10-06T17:22:31+00:00" }, { "name": "publishpress/wordpress-version-notices", - "version": "2.1.2", + "version": "2.1.3", "source": { "type": "git", "url": "https://github.com/publishpress/library-wordpress-version-notices.git", - "reference": "b0efcf04ab9d37304e38673bee471116e44cdb0e" + "reference": "8e54558d2427a0f93174ccbc1d02c1ba7e2abc8d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/publishpress/library-wordpress-version-notices/zipball/b0efcf04ab9d37304e38673bee471116e44cdb0e", - "reference": "b0efcf04ab9d37304e38673bee471116e44cdb0e", + "url": "https://api.github.com/repos/publishpress/library-wordpress-version-notices/zipball/8e54558d2427a0f93174ccbc1d02c1ba7e2abc8d", + "reference": "8e54558d2427a0f93174ccbc1d02c1ba7e2abc8d", "shasum": "" }, "require": { @@ -413,9 +412,9 @@ "description": "Library for displaying version notices for Pro plugins in WordPress.", "support": { "issues": "https://github.com/publishpress/library-wordpress-version-notices/issues", - "source": "https://github.com/publishpress/library-wordpress-version-notices/tree/2.1.2" + "source": "https://github.com/publishpress/library-wordpress-version-notices/tree/2.1.3" }, - "time": "2023-05-30T19:00:42+00:00" + "time": "2023-10-11T15:04:44+00:00" } ], "packages-dev": [], diff --git a/lib/vendor/composer/installed.json b/lib/vendor/composer/installed.json index 0d2c1a2e..376c8b33 100644 --- a/lib/vendor/composer/installed.json +++ b/lib/vendor/composer/installed.json @@ -291,17 +291,17 @@ }, { "name": "publishpress/wordpress-reviews", - "version": "v1.1.19", - "version_normalized": "1.1.19.0", + "version": "v1.1.20", + "version_normalized": "1.1.20.0", "source": { "type": "git", "url": "https://github.com/publishpress/library-wordpress-reviews.git", - "reference": "028e573eb7c5da2455a7a823cabbbe5e3f89ca9c" + "reference": "6d0b687a66439721b0432ef1320fd818cd56309f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/publishpress/library-wordpress-reviews/zipball/028e573eb7c5da2455a7a823cabbbe5e3f89ca9c", - "reference": "028e573eb7c5da2455a7a823cabbbe5e3f89ca9c", + "url": "https://api.github.com/repos/publishpress/library-wordpress-reviews/zipball/6d0b687a66439721b0432ef1320fd818cd56309f", + "reference": "6d0b687a66439721b0432ef1320fd818cd56309f", "shasum": "" }, "require": { @@ -320,12 +320,11 @@ "overtrue/phplint": "^2.1", "phpmd/phpmd": "^2.8", "publishpress/publishpress-plugin-builder": "^1.2", - "sebastian/phpcpd": "^5.0", "squizlabs/php_codesniffer": "^3.5", "wp-cli/i18n-command": "^2.2", "wp-cli/wp-cli": "^2.5" }, - "time": "2022-06-03T13:38:53+00:00", + "time": "2023-10-06T17:22:31+00:00", "type": "library", "installation-source": "dist", "autoload": { @@ -356,23 +355,23 @@ ], "support": { "issues": "https://github.com/publishpress/library-wordpress-reviews/issues", - "source": "https://github.com/publishpress/library-wordpress-reviews/tree/v1.1.19" + "source": "https://github.com/publishpress/library-wordpress-reviews/tree/v1.1.20" }, "install-path": "../publishpress/wordpress-reviews" }, { "name": "publishpress/wordpress-version-notices", - "version": "2.1.2", - "version_normalized": "2.1.2.0", + "version": "2.1.3", + "version_normalized": "2.1.3.0", "source": { "type": "git", "url": "https://github.com/publishpress/library-wordpress-version-notices.git", - "reference": "b0efcf04ab9d37304e38673bee471116e44cdb0e" + "reference": "8e54558d2427a0f93174ccbc1d02c1ba7e2abc8d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/publishpress/library-wordpress-version-notices/zipball/b0efcf04ab9d37304e38673bee471116e44cdb0e", - "reference": "b0efcf04ab9d37304e38673bee471116e44cdb0e", + "url": "https://api.github.com/repos/publishpress/library-wordpress-version-notices/zipball/8e54558d2427a0f93174ccbc1d02c1ba7e2abc8d", + "reference": "8e54558d2427a0f93174ccbc1d02c1ba7e2abc8d", "shasum": "" }, "require": { @@ -394,7 +393,7 @@ "overtrue/phplint": "^2.1", "publishpress/version-loader-generator": "^1.0" }, - "time": "2023-05-30T19:00:42+00:00", + "time": "2023-10-11T15:04:44+00:00", "type": "library", "extra": { "generator": { @@ -425,7 +424,7 @@ "description": "Library for displaying version notices for Pro plugins in WordPress.", "support": { "issues": "https://github.com/publishpress/library-wordpress-version-notices/issues", - "source": "https://github.com/publishpress/library-wordpress-version-notices/tree/2.1.2" + "source": "https://github.com/publishpress/library-wordpress-version-notices/tree/2.1.3" }, "install-path": "../publishpress/wordpress-version-notices" } diff --git a/lib/vendor/composer/installed.php b/lib/vendor/composer/installed.php index 2f7c89cd..0d0c5311 100644 --- a/lib/vendor/composer/installed.php +++ b/lib/vendor/composer/installed.php @@ -1,9 +1,9 @@ array( 'name' => '__root__', - 'pretty_version' => 'dev-develop', - 'version' => 'dev-develop', - 'reference' => '405163c580736698a6a7bc2e9ccb06d744df325b', + 'pretty_version' => 'dev-master', + 'version' => 'dev-master', + 'reference' => 'd50962e02792c29b3cfed9af0ba392e0745a8fc1', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), @@ -11,9 +11,9 @@ ), 'versions' => array( '__root__' => array( - 'pretty_version' => 'dev-develop', - 'version' => 'dev-develop', - 'reference' => '405163c580736698a6a7bc2e9ccb06d744df325b', + 'pretty_version' => 'dev-master', + 'version' => 'dev-master', + 'reference' => 'd50962e02792c29b3cfed9af0ba392e0745a8fc1', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), @@ -56,18 +56,18 @@ 'dev_requirement' => false, ), 'publishpress/wordpress-reviews' => array( - 'pretty_version' => 'v1.1.19', - 'version' => '1.1.19.0', - 'reference' => '028e573eb7c5da2455a7a823cabbbe5e3f89ca9c', + 'pretty_version' => 'v1.1.20', + 'version' => '1.1.20.0', + 'reference' => '6d0b687a66439721b0432ef1320fd818cd56309f', 'type' => 'library', 'install_path' => __DIR__ . '/../publishpress/wordpress-reviews', 'aliases' => array(), 'dev_requirement' => false, ), 'publishpress/wordpress-version-notices' => array( - 'pretty_version' => '2.1.2', - 'version' => '2.1.2.0', - 'reference' => 'b0efcf04ab9d37304e38673bee471116e44cdb0e', + 'pretty_version' => '2.1.3', + 'version' => '2.1.3.0', + 'reference' => '8e54558d2427a0f93174ccbc1d02c1ba7e2abc8d', 'type' => 'library', 'install_path' => __DIR__ . '/../publishpress/wordpress-version-notices', 'aliases' => array(), diff --git a/lib/vendor/publishpress/wordpress-reviews/ReviewsController.php b/lib/vendor/publishpress/wordpress-reviews/ReviewsController.php index 1d4445a3..fcff08f8 100644 --- a/lib/vendor/publishpress/wordpress-reviews/ReviewsController.php +++ b/lib/vendor/publishpress/wordpress-reviews/ReviewsController.php @@ -39,6 +39,10 @@ use Exception; +if (class_exists('PublishPress\\WordPressReviews\\ReviewsController')) { + return; +} + /** * Class ReviewsController * diff --git a/lib/vendor/publishpress/wordpress-version-notices/src/Module/MenuLink/Module.php b/lib/vendor/publishpress/wordpress-version-notices/src/Module/MenuLink/Module.php index a4a3d872..b1e969bb 100644 --- a/lib/vendor/publishpress/wordpress-version-notices/src/Module/MenuLink/Module.php +++ b/lib/vendor/publishpress/wordpress-version-notices/src/Module/MenuLink/Module.php @@ -63,7 +63,7 @@ public function __construct(TemplateLoaderInterface $templateLoader) public function init() { add_action('admin_head', [$this, 'adminHeadAddStyle']); - add_action('init', [$this, 'collectTheSettings'], 5); + add_action('init', [$this, 'collectTheSettings'], 50); add_action('admin_menu', [$this, 'addMenuLink'], 20); add_action('admin_print_scripts', [$this, 'setUpgradeMenuLink'], 9999); } diff --git a/lib/vendor/publishpress/wordpress-version-notices/src/Module/TopNotice/Module.php b/lib/vendor/publishpress/wordpress-version-notices/src/Module/TopNotice/Module.php index d103be86..e8106752 100644 --- a/lib/vendor/publishpress/wordpress-version-notices/src/Module/TopNotice/Module.php +++ b/lib/vendor/publishpress/wordpress-version-notices/src/Module/TopNotice/Module.php @@ -64,7 +64,7 @@ public function init() { add_action(self::DISPLAY_ACTION, [$this, 'display'], 10, 2); add_action('in_admin_header', [$this, 'displayTopNotice']); - add_action('admin_init', [$this, 'collectTheSettings'], 5); + add_action('admin_init', [$this, 'collectTheSettings'], 50); add_action('admin_head', [$this, 'adminHeadAddStyle']); } diff --git a/lib/vendor/publishpress/wordpress-version-notices/src/autoload.php b/lib/vendor/publishpress/wordpress-version-notices/src/autoload.php index a0d2e1d5..2d1a2ef8 100644 --- a/lib/vendor/publishpress/wordpress-version-notices/src/autoload.php +++ b/lib/vendor/publishpress/wordpress-version-notices/src/autoload.php @@ -10,7 +10,7 @@ add_action('plugins_loaded', function () { if (! defined('PP_VERSION_NOTICES_LOADED')) { - define('PP_VERSION_NOTICES_VERSION', '2.1.1'); + define('PP_VERSION_NOTICES_VERSION', '2.1.3'); define('PP_VERSION_NOTICES_BASE_PATH', __DIR__ . '/../'); define('PP_VERSION_NOTICES_SRC_PATH', __DIR__); diff --git a/lib/vendor/publishpress/wordpress-version-notices/src/include.php b/lib/vendor/publishpress/wordpress-version-notices/src/include.php index 21234f71..0ab7e072 100644 --- a/lib/vendor/publishpress/wordpress-version-notices/src/include.php +++ b/lib/vendor/publishpress/wordpress-version-notices/src/include.php @@ -16,7 +16,7 @@ return; } -if (! function_exists(__NAMESPACE__ . '\register2Dot1Dot2')) { +if (! function_exists(__NAMESPACE__ . '\register2Dot1Dot3')) { if (! defined('PUBLISHPRESS_WORDPRESS_VERSION_NOTICES_INCLUDED')) { define('PUBLISHPRESS_WORDPRESS_VERSION_NOTICES_INCLUDED', __DIR__); } @@ -27,24 +27,24 @@ add_action('plugins_loaded', [Versions::class, 'initializeLatestVersion'], -150, 0); } - add_action('plugins_loaded', __NAMESPACE__ . '\register2Dot1Dot2', -190, 0); + add_action('plugins_loaded', __NAMESPACE__ . '\register2Dot1Dot3', -190, 0); - function register2Dot1Dot2() + function register2Dot1Dot3() { if (! class_exists('PublishPress\WordpressVersionNotices\ServicesProvider')) { $versions = Versions::getInstance(); - $versions->register('2.1.2', __NAMESPACE__ . '\initialize2Dot1Dot2'); + $versions->register('2.1.3', __NAMESPACE__ . '\initialize2Dot1Dot3'); } } - function initialize2Dot1Dot2() + function initialize2Dot1Dot3() { require_once __DIR__ . '/autoload.php'; if (! defined('PUBLISHPRESS_WORDPRESS_VERSION_NOTICES_VERSION')) { - define('PUBLISHPRESS_WORDPRESS_VERSION_NOTICES_VERSION', '2.1.2'); + define('PUBLISHPRESS_WORDPRESS_VERSION_NOTICES_VERSION', '2.1.3'); } - do_action('publishpress_wordpress_version_notices_2Dot1Dot2_initialized'); + do_action('publishpress_wordpress_version_notices_2Dot1Dot3_initialized'); } }