diff --git a/composer.lock b/composer.lock index dc7a2ad..55fb0cd 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "a4fa2edfc5b4021a3dc78312c01fbfd0", + "content-hash": "4ad7c014df793fb15d9b01b71d7a7acf", "packages": [ { "name": "abuyoyo/adminmenupage", - "version": "0.27", + "version": "0.28", "source": { "type": "git", "url": "https://github.com/abuyoyo/AdminMenuPage.git", - "reference": "5ab293cbac3613a680bf2bd741214b1ca782f33b" + "reference": "c16d80ebbe1cc112acd3e5eca2f97e7abd017d29" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/abuyoyo/AdminMenuPage/zipball/5ab293cbac3613a680bf2bd741214b1ca782f33b", - "reference": "5ab293cbac3613a680bf2bd741214b1ca782f33b", + "url": "https://api.github.com/repos/abuyoyo/AdminMenuPage/zipball/c16d80ebbe1cc112acd3e5eca2f97e7abd017d29", + "reference": "c16d80ebbe1cc112acd3e5eca2f97e7abd017d29", "shasum": "" }, "suggest": { @@ -40,27 +40,27 @@ "description": "WordPress admin menu page helper class", "support": { "issues": "https://github.com/abuyoyo/AdminMenuPage/issues", - "source": "https://github.com/abuyoyo/AdminMenuPage/tree/0.27" + "source": "https://github.com/abuyoyo/AdminMenuPage/tree/0.28" }, - "time": "2023-06-20T00:00:00+00:00" + "time": "2023-10-04T00:00:00+00:00" }, { "name": "abuyoyo/plugincore", - "version": "0.26", + "version": "0.27", "source": { "type": "git", "url": "https://github.com/abuyoyo/PluginCore.git", - "reference": "77f7d5451bdff4bda6c9766847b215bdeaca96d6" + "reference": "d730a674cbe2dc92e60ace8e25a2e0e3fdeee3e6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/abuyoyo/PluginCore/zipball/77f7d5451bdff4bda6c9766847b215bdeaca96d6", - "reference": "77f7d5451bdff4bda6c9766847b215bdeaca96d6", + "url": "https://api.github.com/repos/abuyoyo/PluginCore/zipball/d730a674cbe2dc92e60ace8e25a2e0e3fdeee3e6", + "reference": "d730a674cbe2dc92e60ace8e25a2e0e3fdeee3e6", "shasum": "" }, "suggest": { - "abuyoyo/adminmenupage": "~0.25", - "yahnis-elsts/plugin-update-checker": "~4.12" + "abuyoyo/adminmenupage": "~0.27", + "yahnis-elsts/plugin-update-checker": "~5.2" }, "type": "library", "autoload": { @@ -75,9 +75,9 @@ "description": "WordPress plugin core helper class", "support": { "issues": "https://github.com/abuyoyo/PluginCore/issues", - "source": "https://github.com/abuyoyo/PluginCore/tree/0.26" + "source": "https://github.com/abuyoyo/PluginCore/tree/0.27" }, - "time": "2022-06-09T00:00:00+00:00" + "time": "2022-10-03T00:00:00+00:00" }, { "name": "abuyoyo/screen-meta-links", diff --git a/vendor/abuyoyo/adminmenupage/CHANGELOG.md b/vendor/abuyoyo/adminmenupage/CHANGELOG.md index 6ade62d..5a78e58 100644 --- a/vendor/abuyoyo/adminmenupage/CHANGELOG.md +++ b/vendor/abuyoyo/adminmenupage/CHANGELOG.md @@ -1,6 +1,13 @@ # Changelog WPHelper\AdminMenuPage +## 0.28 +Release date: Oct 4 2023 + +### Added +- Option `parent` accepts `tools` as shorthand for `tools.php`. +- Add link to Install Plugin page in "CMB2 plugin missing" template. + ## 0.27 Release date: Sep 10 2023 @@ -28,7 +35,7 @@ Release date: Jun 9 2023 - Fix several PHP undefined variable warnings. ### Internal -- Setting pages/wrap temlate uses WordPress Core `do_meta_boxes` to render `side` meta boxes div. +- Setting pages/wrap template uses WordPress Core `do_meta_boxes` to render `side` meta boxes div. - Add variables to `AdminPage::options()` array. - Multiple code refactoring and template restructuring. diff --git a/vendor/abuyoyo/adminmenupage/composer.json b/vendor/abuyoyo/adminmenupage/composer.json index dbf8aef..2f4ca28 100644 --- a/vendor/abuyoyo/adminmenupage/composer.json +++ b/vendor/abuyoyo/adminmenupage/composer.json @@ -2,8 +2,8 @@ "name": "abuyoyo/adminmenupage", "description": "WordPress admin menu page helper class", "type": "library", - "version": "0.27", - "time": "2023-06-20", + "version": "0.28", + "time": "2023-10-04", "license": "BSD-3-Clause", "suggest": { "abuyoyo/plugincore": "~0.26", diff --git a/vendor/abuyoyo/adminmenupage/src/AdminPage.php b/vendor/abuyoyo/adminmenupage/src/AdminPage.php index 4846f68..14c3534 100644 --- a/vendor/abuyoyo/adminmenupage/src/AdminPage.php +++ b/vendor/abuyoyo/adminmenupage/src/AdminPage.php @@ -348,6 +348,10 @@ class AdminPage case 'options-general.php': $this->parent = 'options-general.php'; break; + case 'tools': + case 'tools.php': + $this->parent = 'tools.php'; + break; default: $this->parent = $parent; break; diff --git a/vendor/abuyoyo/adminmenupage/src/SettingsPage.php b/vendor/abuyoyo/adminmenupage/src/SettingsPage.php index 725e55b..6847a61 100644 --- a/vendor/abuyoyo/adminmenupage/src/SettingsPage.php +++ b/vendor/abuyoyo/adminmenupage/src/SettingsPage.php @@ -34,7 +34,7 @@ class SettingsPage{ * * @var string $page */ - protected $page; + public $page; /** * option_name key used in wp_options table @@ -343,7 +343,7 @@ class SettingsPage{ $new_options[$id] = sanitize_email( $option ); break; case 'url': - $new_options[$id] = sanitize_url( $option ); + $new_options[$id] = esc_url_raw( $option ); break; default: break; diff --git a/vendor/abuyoyo/adminmenupage/src/tpl/form-basic.php b/vendor/abuyoyo/adminmenupage/src/tpl/form-basic.php index 725a73a..5ce9fdd 100644 --- a/vendor/abuyoyo/adminmenupage/src/tpl/form-basic.php +++ b/vendor/abuyoyo/adminmenupage/src/tpl/form-basic.php @@ -7,8 +7,9 @@ ?>
settings_page->option_group );// Print hidden setting fields - do_settings_sections( $this->get_slug() );// Print title, info callback and form-table + do_settings_sections( $this->settings_page->page );// Print title, info callback and form-table submit_button(); ?>
\ No newline at end of file diff --git a/vendor/abuyoyo/adminmenupage/src/tpl/plugin_info_meta_box-inside.php b/vendor/abuyoyo/adminmenupage/src/tpl/plugin_info_meta_box-inside.php index 10ef898..e85520d 100644 --- a/vendor/abuyoyo/adminmenupage/src/tpl/plugin_info_meta_box-inside.php +++ b/vendor/abuyoyo/adminmenupage/src/tpl/plugin_info_meta_box-inside.php @@ -32,5 +32,6 @@ * @since 0.26 */ if ( defined('WPH_DEBUG') && WPH_DEBUG ) { + /** @var WPHelper\PluginInfoMetaBox $this */ $this->wph_debug(); } \ No newline at end of file diff --git a/vendor/abuyoyo/adminmenupage/src/tpl/wrap-cmb2-unavailable.php b/vendor/abuyoyo/adminmenupage/src/tpl/wrap-cmb2-unavailable.php index fec2537..1b8304c 100644 --- a/vendor/abuyoyo/adminmenupage/src/tpl/wrap-cmb2-unavailable.php +++ b/vendor/abuyoyo/adminmenupage/src/tpl/wrap-cmb2-unavailable.php @@ -4,6 +4,6 @@

CMB2 Plugin Missing

CMB2 plugin is required to display this page. -
Download and activate CMB2 plugin. +
Please install and activate CMB2 plugin.

\ No newline at end of file diff --git a/vendor/abuyoyo/plugincore/CHANGELOG.md b/vendor/abuyoyo/plugincore/CHANGELOG.md index 249e5c0..173de7c 100644 --- a/vendor/abuyoyo/plugincore/CHANGELOG.md +++ b/vendor/abuyoyo/plugincore/CHANGELOG.md @@ -1,5 +1,11 @@ # WPHelper\PluginCore Changelog +## 0.27 +Release Date: Oct 3, 2023 + +### Added +- Support Plugin Update Checker v5 as well as v4. Create class alias `WPHelper\PucFactory` for `YahnisElsts\PluginUpdateChecker\v5\PucFactory` if available. Fallback to `Puc_v4_Factory`. + ## 0.26 Release Date: Jun 9, 2023 diff --git a/vendor/abuyoyo/plugincore/PluginCore.php b/vendor/abuyoyo/plugincore/PluginCore.php index 5013873..1a337cc 100644 --- a/vendor/abuyoyo/plugincore/PluginCore.php +++ b/vendor/abuyoyo/plugincore/PluginCore.php @@ -1,14 +1,12 @@ register(true); - $filesToLoad = \Composer\Autoload\ComposerStaticInit99e41faf4c8cd1b54927a50ca0e7ee5c::$files; + $filesToLoad = \Composer\Autoload\ComposerStaticInita13a895834453aad32a897cc456c73ff::$files; $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 332a3a2..f559bf0 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit99e41faf4c8cd1b54927a50ca0e7ee5c +class ComposerStaticInita13a895834453aad32a897cc456c73ff { public static $files = array ( '8653524d908cf23a56335c6d210d6627' => __DIR__ . '/..' . '/abuyoyo/adminmenupage/wph_admin_page.php', @@ -33,9 +33,9 @@ class ComposerStaticInit99e41faf4c8cd1b54927a50ca0e7ee5c public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit99e41faf4c8cd1b54927a50ca0e7ee5c::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit99e41faf4c8cd1b54927a50ca0e7ee5c::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit99e41faf4c8cd1b54927a50ca0e7ee5c::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInita13a895834453aad32a897cc456c73ff::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInita13a895834453aad32a897cc456c73ff::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInita13a895834453aad32a897cc456c73ff::$classMap; }, null, ClassLoader::class); } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 79decf6..6d4db56 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -2,26 +2,26 @@ "packages": [ { "name": "abuyoyo/adminmenupage", - "version": "0.27", - "version_normalized": "0.27.0.0", + "version": "0.28", + "version_normalized": "0.28.0.0", "source": { "type": "git", "url": "https://github.com/abuyoyo/AdminMenuPage.git", - "reference": "5ab293cbac3613a680bf2bd741214b1ca782f33b" + "reference": "c16d80ebbe1cc112acd3e5eca2f97e7abd017d29" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/abuyoyo/AdminMenuPage/zipball/5ab293cbac3613a680bf2bd741214b1ca782f33b", - "reference": "5ab293cbac3613a680bf2bd741214b1ca782f33b", + "url": "https://api.github.com/repos/abuyoyo/AdminMenuPage/zipball/c16d80ebbe1cc112acd3e5eca2f97e7abd017d29", + "reference": "c16d80ebbe1cc112acd3e5eca2f97e7abd017d29", "shasum": "" }, "suggest": { "abuyoyo/plugincore": "~0.26", "cmb2/cmb2": "~2.9" }, - "time": "2023-06-20T00:00:00+00:00", + "time": "2023-10-04T00:00:00+00:00", "type": "library", - "installation-source": "source", + "installation-source": "dist", "autoload": { "files": [ "wph_admin_page.php" @@ -37,30 +37,30 @@ "description": "WordPress admin menu page helper class", "support": { "issues": "https://github.com/abuyoyo/AdminMenuPage/issues", - "source": "https://github.com/abuyoyo/AdminMenuPage/tree/0.27" + "source": "https://github.com/abuyoyo/AdminMenuPage/tree/0.28" }, "install-path": "../abuyoyo/adminmenupage" }, { "name": "abuyoyo/plugincore", - "version": "0.26", - "version_normalized": "0.26.0.0", + "version": "0.27", + "version_normalized": "0.27.0.0", "source": { "type": "git", "url": "https://github.com/abuyoyo/PluginCore.git", - "reference": "77f7d5451bdff4bda6c9766847b215bdeaca96d6" + "reference": "d730a674cbe2dc92e60ace8e25a2e0e3fdeee3e6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/abuyoyo/PluginCore/zipball/77f7d5451bdff4bda6c9766847b215bdeaca96d6", - "reference": "77f7d5451bdff4bda6c9766847b215bdeaca96d6", + "url": "https://api.github.com/repos/abuyoyo/PluginCore/zipball/d730a674cbe2dc92e60ace8e25a2e0e3fdeee3e6", + "reference": "d730a674cbe2dc92e60ace8e25a2e0e3fdeee3e6", "shasum": "" }, "suggest": { - "abuyoyo/adminmenupage": "~0.25", - "yahnis-elsts/plugin-update-checker": "~4.12" + "abuyoyo/adminmenupage": "~0.27", + "yahnis-elsts/plugin-update-checker": "~5.2" }, - "time": "2022-06-09T00:00:00+00:00", + "time": "2022-10-03T00:00:00+00:00", "type": "library", "installation-source": "dist", "autoload": { @@ -75,7 +75,7 @@ "description": "WordPress plugin core helper class", "support": { "issues": "https://github.com/abuyoyo/PluginCore/issues", - "source": "https://github.com/abuyoyo/PluginCore/tree/0.26" + "source": "https://github.com/abuyoyo/PluginCore/tree/0.27" }, "install-path": "../abuyoyo/plugincore" }, diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 0926170..6a506f2 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -1,8 +1,8 @@ array( 'name' => 'abuyoyo/notice-manager', - 'pretty_version' => '0.23', - 'version' => '0.23.0.0', + 'pretty_version' => '0.24', + 'version' => '0.24.0.0', 'reference' => NULL, 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', @@ -11,17 +11,17 @@ ), 'versions' => array( 'abuyoyo/adminmenupage' => array( - 'pretty_version' => '0.27', - 'version' => '0.27.0.0', - 'reference' => '5ab293cbac3613a680bf2bd741214b1ca782f33b', + 'pretty_version' => '0.28', + 'version' => '0.28.0.0', + 'reference' => 'c16d80ebbe1cc112acd3e5eca2f97e7abd017d29', 'type' => 'library', 'install_path' => __DIR__ . '/../abuyoyo/adminmenupage', 'aliases' => array(), 'dev_requirement' => false, ), 'abuyoyo/notice-manager' => array( - 'pretty_version' => '0.23', - 'version' => '0.23.0.0', + 'pretty_version' => '0.24', + 'version' => '0.24.0.0', 'reference' => NULL, 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', @@ -29,9 +29,9 @@ 'dev_requirement' => false, ), 'abuyoyo/plugincore' => array( - 'pretty_version' => '0.26', - 'version' => '0.26.0.0', - 'reference' => '77f7d5451bdff4bda6c9766847b215bdeaca96d6', + 'pretty_version' => '0.27', + 'version' => '0.27.0.0', + 'reference' => 'd730a674cbe2dc92e60ace8e25a2e0e3fdeee3e6', 'type' => 'library', 'install_path' => __DIR__ . '/../abuyoyo/plugincore', 'aliases' => array(),