Changeset 3735837
- Timestamp:
- 10/09/2026 03:48:50 AM (2 weeks ago)
- Location:
- apex-digital-toolbox
- Files:
-
- 18 edited
- 1 copied
-
tags/2.6.1 (copied) (copied from apex-digital-toolbox/trunk )
-
tags/2.6.1/apex-digital-toolbox.php (modified) (1 diff)
-
tags/2.6.1/readme.txt (modified) (2 diffs)
-
tags/2.6.1/src/Updates/MuPluginInstaller.php (modified) (1 diff)
-
tags/2.6.1/src/Updates/WakeUpdaters.php (modified) (3 diffs)
-
tags/2.6.1/vendor-prefixed/autoload.php (modified) (1 diff)
-
tags/2.6.1/vendor-prefixed/composer/autoload_real.php (modified) (2 diffs)
-
tags/2.6.1/vendor-prefixed/composer/autoload_static.php (modified) (2 diffs)
-
tags/2.6.1/vendor-prefixed/composer/installed.php (modified) (1 diff)
-
tags/2.6.1/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/apex-digital-toolbox.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/Updates/MuPluginInstaller.php (modified) (1 diff)
-
trunk/src/Updates/WakeUpdaters.php (modified) (3 diffs)
-
trunk/vendor-prefixed/autoload.php (modified) (1 diff)
-
trunk/vendor-prefixed/composer/autoload_real.php (modified) (2 diffs)
-
trunk/vendor-prefixed/composer/autoload_static.php (modified) (2 diffs)
-
trunk/vendor-prefixed/composer/installed.php (modified) (1 diff)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
apex-digital-toolbox/tags/2.6.1/apex-digital-toolbox.php
r3735779 r3735837 5 5 Plugin URI: https://www.apexdigital.co.nz/ 6 6 Description: Adds additional functionality that to make it easier to setup sites 7 Version: 2.6. 07 Version: 2.6.1 8 8 Requires at least: 6.9 9 9 Tested up to: 7.0 -
apex-digital-toolbox/tags/2.6.1/readme.txt
r3735779 r3735837 6 6 Requires PHP: 8.1 7 7 Tested up to: 7.0 8 Stable tag: 2.6. 08 Stable tag: 2.6.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 73 73 74 74 == Changelog == 75 = 2.6.1 = 76 * Premium theme updates are now visible from the command line as well. `wp theme list`, `wp theme update` and `wp theme status` now wake the same premium updaters that `wp plugin list` already does. Jupiter X only loads its theme updater inside wp-admin, so until now `wp theme list` reported it as up to date while wp-admin showed an update, and `wp theme update jupiterx` on a copy answered "already updated". The must-use plugin that does the waking is rewritten automatically on this update; every other WP-CLI command is left exactly as it was 77 75 78 = 2.6.0 = 76 79 * Outbound firewall: a development or staging copy can now deactivate an Essential Addons (WPDeveloper) licence, which is the step that has to happen before a licence key can be entered on the copy. Until now the deactivate was blocked, the copy kept showing the live site's licence as active, and there was no way to enter a key. Only a deactivate that names the copy's own web address is allowed: the firewall checks the address in the request against the copy's own, so a copy can release its own registration but never the live site's. Deactivating a copy that had been activated frees that seat -
apex-digital-toolbox/tags/2.6.1/src/Updates/MuPluginInstaller.php
r3710444 r3735837 39 39 . "/**\n" 40 40 . " * Plugin Name: Apex Toolbox - wake premium updaters under WP-CLI\n" 41 . " * Description: Lets `wp plugin list` and `wp plugin update` see premium-plugin updates" 42 . " (Crocoblock, WPDeveloper and others). Managed by the Apex Digital Toolbox, which" 41 . " * Description: Lets `wp plugin list|update` and `wp theme list|update` see premium" 42 . " plugin and theme updates (Crocoblock, WPDeveloper, Jupiter X and others). Managed by" 43 . " the Apex Digital Toolbox, which" 43 44 . " rewrites this file when it changes and deletes it on deactivation.\n" 44 45 . " */\n" -
apex-digital-toolbox/tags/2.6.1/src/Updates/WakeUpdaters.php
r3710444 r3735837 6 6 7 7 /** 8 * Wakes the premium -pluginupdaters that stay dormant under WP-CLI.8 * Wakes the premium plugin and theme updaters that stay dormant under WP-CLI. 9 9 * 10 10 * Several vendors register their update check only in contexts WP-CLI is not in, so 11 * `wp plugin list` reports no update for a plugin wp-admin shows one for . Two gates cover the bulk12 * of the fleet, each opened by a constant:11 * `wp plugin list` reports no update for a plugin wp-admin shows one for, and `wp theme list` the 12 * same for a theme. Two gates cover the bulk of the fleet, each opened by a constant: 13 13 * 14 14 * - WP_ADMIN - Crocoblock. Every Jet plugin boots its jet-dashboard only `if ( is_admin() )`, and the 15 * dashboard is what hooks `pre_set_site_transient_update_plugins`. 15 * dashboard is what hooks `pre_set_site_transient_update_plugins`. Jupiter X is the theme case: 16 * lib/init.php requires its update-theme class only `if ( is_admin() )`, so `wp theme list` shows 17 * no update and `wp theme update jupiterx` answers "already updated" with the updater asleep. 16 18 * - DOING_CRON - EDD Software Licensing (WPDeveloper's Essential Addons and others). The updater 17 19 * bails unless `current_user_can( 'manage_options' ) || DOING_CRON`. `--user=1` does not get … … 25 27 * it free of dependencies on anything else in the plugin. 26 28 * 27 * Only the commands Cue uses to read and apply updates are woken. The constants make is_admin() 29 * Only the commands Cue uses to read and apply updates are woken - plugin and theme list, update 30 * and status, and the Toolbox's own read commands. The constants make is_admin() 28 31 * and wp_doing_cron() true for the rest of the process, which is exactly right for an update 29 32 * check and wrong for a system-cron `wp cron event run`, an import or a search-replace - every … … 74 77 } 75 78 76 return $command === 'plugin' && in_array($subcommand, array('list', 'update', 'status'), true); 79 return in_array($command, array('plugin', 'theme'), true) 80 && in_array($subcommand, array('list', 'update', 'status'), true); 77 81 } 78 82 -
apex-digital-toolbox/tags/2.6.1/vendor-prefixed/autoload.php
r3735779 r3735837 20 20 require_once __DIR__ . '/composer/autoload_real.php'; 21 21 22 return ComposerAutoloaderInit 761992f440549c49ac9df11df1dd831a::getLoader();22 return ComposerAutoloaderInita80a26426afc3eb69952038a116d6cc9::getLoader(); -
apex-digital-toolbox/tags/2.6.1/vendor-prefixed/composer/autoload_real.php
r3735779 r3735837 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 761992f440549c49ac9df11df1dd831a5 class ComposerAutoloaderInita80a26426afc3eb69952038a116d6cc9 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 761992f440549c49ac9df11df1dd831a', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInita80a26426afc3eb69952038a116d6cc9', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \ApexToolbox\Vendor\Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit 761992f440549c49ac9df11df1dd831a', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInita80a26426afc3eb69952038a116d6cc9', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\ApexToolbox\Vendor\Composer\Autoload\ComposerStaticInit 761992f440549c49ac9df11df1dd831a::getInitializer($loader));32 call_user_func(\ApexToolbox\Vendor\Composer\Autoload\ComposerStaticInita80a26426afc3eb69952038a116d6cc9::getInitializer($loader)); 33 33 34 34 $loader->setClassMapAuthoritative(true); 35 35 $loader->register(true); 36 36 37 $filesToLoad = \ApexToolbox\Vendor\Composer\Autoload\ComposerStaticInit 761992f440549c49ac9df11df1dd831a::$files;37 $filesToLoad = \ApexToolbox\Vendor\Composer\Autoload\ComposerStaticInita80a26426afc3eb69952038a116d6cc9::$files; 38 38 $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { 39 39 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
apex-digital-toolbox/tags/2.6.1/vendor-prefixed/composer/autoload_static.php
r3735779 r3735837 5 5 namespace ApexToolbox\Vendor\Composer\Autoload; 6 6 7 class ComposerStaticInit 761992f440549c49ac9df11df1dd831a7 class ComposerStaticInita80a26426afc3eb69952038a116d6cc9 8 8 { 9 9 public static $files = array ( … … 151 151 { 152 152 return \Closure::bind(function () use ($loader) { 153 $loader->prefixLengthsPsr4 = ComposerStaticInit 761992f440549c49ac9df11df1dd831a::$prefixLengthsPsr4;154 $loader->prefixDirsPsr4 = ComposerStaticInit 761992f440549c49ac9df11df1dd831a::$prefixDirsPsr4;155 $loader->classMap = ComposerStaticInit 761992f440549c49ac9df11df1dd831a::$classMap;153 $loader->prefixLengthsPsr4 = ComposerStaticInita80a26426afc3eb69952038a116d6cc9::$prefixLengthsPsr4; 154 $loader->prefixDirsPsr4 = ComposerStaticInita80a26426afc3eb69952038a116d6cc9::$prefixDirsPsr4; 155 $loader->classMap = ComposerStaticInita80a26426afc3eb69952038a116d6cc9::$classMap; 156 156 157 157 }, null, ClassLoader::class); -
apex-digital-toolbox/tags/2.6.1/vendor-prefixed/composer/installed.php
r3735779 r3735837 3 3 array ( 4 4 'name' => 'apex-digital/apex-digital-toolbox', 5 'pretty_version' => '2.6. 0',6 'version' => '2.6. 0.0',7 'reference' => ' 90f20e6a747cbfca87968e4515d1df79ca5369e7',5 'pretty_version' => '2.6.1', 6 'version' => '2.6.1.0', 7 'reference' => '81556385a353d11d6ed03dc5f18077b153fa467f', 8 8 'type' => 'wordpress-plugin', 9 9 'install_path' => __DIR__ . '/../', -
apex-digital-toolbox/tags/2.6.1/vendor/composer/installed.php
r3735779 r3735837 2 2 'root' => array( 3 3 'name' => 'apex-digital/apex-digital-toolbox', 4 'pretty_version' => '2.6. 0',5 'version' => '2.6. 0.0',6 'reference' => ' 90f20e6a747cbfca87968e4515d1df79ca5369e7',4 'pretty_version' => '2.6.1', 5 'version' => '2.6.1.0', 6 'reference' => '81556385a353d11d6ed03dc5f18077b153fa467f', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 'apex-digital/apex-digital-toolbox' => array( 14 'pretty_version' => '2.6. 0',15 'version' => '2.6. 0.0',16 'reference' => ' 90f20e6a747cbfca87968e4515d1df79ca5369e7',14 'pretty_version' => '2.6.1', 15 'version' => '2.6.1.0', 16 'reference' => '81556385a353d11d6ed03dc5f18077b153fa467f', 17 17 'type' => 'wordpress-plugin', 18 18 'install_path' => __DIR__ . '/../../', -
apex-digital-toolbox/trunk/apex-digital-toolbox.php
r3735779 r3735837 5 5 Plugin URI: https://www.apexdigital.co.nz/ 6 6 Description: Adds additional functionality that to make it easier to setup sites 7 Version: 2.6. 07 Version: 2.6.1 8 8 Requires at least: 6.9 9 9 Tested up to: 7.0 -
apex-digital-toolbox/trunk/readme.txt
r3735779 r3735837 6 6 Requires PHP: 8.1 7 7 Tested up to: 7.0 8 Stable tag: 2.6. 08 Stable tag: 2.6.1 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 73 73 74 74 == Changelog == 75 = 2.6.1 = 76 * Premium theme updates are now visible from the command line as well. `wp theme list`, `wp theme update` and `wp theme status` now wake the same premium updaters that `wp plugin list` already does. Jupiter X only loads its theme updater inside wp-admin, so until now `wp theme list` reported it as up to date while wp-admin showed an update, and `wp theme update jupiterx` on a copy answered "already updated". The must-use plugin that does the waking is rewritten automatically on this update; every other WP-CLI command is left exactly as it was 77 75 78 = 2.6.0 = 76 79 * Outbound firewall: a development or staging copy can now deactivate an Essential Addons (WPDeveloper) licence, which is the step that has to happen before a licence key can be entered on the copy. Until now the deactivate was blocked, the copy kept showing the live site's licence as active, and there was no way to enter a key. Only a deactivate that names the copy's own web address is allowed: the firewall checks the address in the request against the copy's own, so a copy can release its own registration but never the live site's. Deactivating a copy that had been activated frees that seat -
apex-digital-toolbox/trunk/src/Updates/MuPluginInstaller.php
r3710444 r3735837 39 39 . "/**\n" 40 40 . " * Plugin Name: Apex Toolbox - wake premium updaters under WP-CLI\n" 41 . " * Description: Lets `wp plugin list` and `wp plugin update` see premium-plugin updates" 42 . " (Crocoblock, WPDeveloper and others). Managed by the Apex Digital Toolbox, which" 41 . " * Description: Lets `wp plugin list|update` and `wp theme list|update` see premium" 42 . " plugin and theme updates (Crocoblock, WPDeveloper, Jupiter X and others). Managed by" 43 . " the Apex Digital Toolbox, which" 43 44 . " rewrites this file when it changes and deletes it on deactivation.\n" 44 45 . " */\n" -
apex-digital-toolbox/trunk/src/Updates/WakeUpdaters.php
r3710444 r3735837 6 6 7 7 /** 8 * Wakes the premium -pluginupdaters that stay dormant under WP-CLI.8 * Wakes the premium plugin and theme updaters that stay dormant under WP-CLI. 9 9 * 10 10 * Several vendors register their update check only in contexts WP-CLI is not in, so 11 * `wp plugin list` reports no update for a plugin wp-admin shows one for . Two gates cover the bulk12 * of the fleet, each opened by a constant:11 * `wp plugin list` reports no update for a plugin wp-admin shows one for, and `wp theme list` the 12 * same for a theme. Two gates cover the bulk of the fleet, each opened by a constant: 13 13 * 14 14 * - WP_ADMIN - Crocoblock. Every Jet plugin boots its jet-dashboard only `if ( is_admin() )`, and the 15 * dashboard is what hooks `pre_set_site_transient_update_plugins`. 15 * dashboard is what hooks `pre_set_site_transient_update_plugins`. Jupiter X is the theme case: 16 * lib/init.php requires its update-theme class only `if ( is_admin() )`, so `wp theme list` shows 17 * no update and `wp theme update jupiterx` answers "already updated" with the updater asleep. 16 18 * - DOING_CRON - EDD Software Licensing (WPDeveloper's Essential Addons and others). The updater 17 19 * bails unless `current_user_can( 'manage_options' ) || DOING_CRON`. `--user=1` does not get … … 25 27 * it free of dependencies on anything else in the plugin. 26 28 * 27 * Only the commands Cue uses to read and apply updates are woken. The constants make is_admin() 29 * Only the commands Cue uses to read and apply updates are woken - plugin and theme list, update 30 * and status, and the Toolbox's own read commands. The constants make is_admin() 28 31 * and wp_doing_cron() true for the rest of the process, which is exactly right for an update 29 32 * check and wrong for a system-cron `wp cron event run`, an import or a search-replace - every … … 74 77 } 75 78 76 return $command === 'plugin' && in_array($subcommand, array('list', 'update', 'status'), true); 79 return in_array($command, array('plugin', 'theme'), true) 80 && in_array($subcommand, array('list', 'update', 'status'), true); 77 81 } 78 82 -
apex-digital-toolbox/trunk/vendor-prefixed/autoload.php
r3735779 r3735837 20 20 require_once __DIR__ . '/composer/autoload_real.php'; 21 21 22 return ComposerAutoloaderInit 761992f440549c49ac9df11df1dd831a::getLoader();22 return ComposerAutoloaderInita80a26426afc3eb69952038a116d6cc9::getLoader(); -
apex-digital-toolbox/trunk/vendor-prefixed/composer/autoload_real.php
r3735779 r3735837 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 761992f440549c49ac9df11df1dd831a5 class ComposerAutoloaderInita80a26426afc3eb69952038a116d6cc9 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 761992f440549c49ac9df11df1dd831a', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInita80a26426afc3eb69952038a116d6cc9', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \ApexToolbox\Vendor\Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit 761992f440549c49ac9df11df1dd831a', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInita80a26426afc3eb69952038a116d6cc9', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\ApexToolbox\Vendor\Composer\Autoload\ComposerStaticInit 761992f440549c49ac9df11df1dd831a::getInitializer($loader));32 call_user_func(\ApexToolbox\Vendor\Composer\Autoload\ComposerStaticInita80a26426afc3eb69952038a116d6cc9::getInitializer($loader)); 33 33 34 34 $loader->setClassMapAuthoritative(true); 35 35 $loader->register(true); 36 36 37 $filesToLoad = \ApexToolbox\Vendor\Composer\Autoload\ComposerStaticInit 761992f440549c49ac9df11df1dd831a::$files;37 $filesToLoad = \ApexToolbox\Vendor\Composer\Autoload\ComposerStaticInita80a26426afc3eb69952038a116d6cc9::$files; 38 38 $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { 39 39 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
apex-digital-toolbox/trunk/vendor-prefixed/composer/autoload_static.php
r3735779 r3735837 5 5 namespace ApexToolbox\Vendor\Composer\Autoload; 6 6 7 class ComposerStaticInit 761992f440549c49ac9df11df1dd831a7 class ComposerStaticInita80a26426afc3eb69952038a116d6cc9 8 8 { 9 9 public static $files = array ( … … 151 151 { 152 152 return \Closure::bind(function () use ($loader) { 153 $loader->prefixLengthsPsr4 = ComposerStaticInit 761992f440549c49ac9df11df1dd831a::$prefixLengthsPsr4;154 $loader->prefixDirsPsr4 = ComposerStaticInit 761992f440549c49ac9df11df1dd831a::$prefixDirsPsr4;155 $loader->classMap = ComposerStaticInit 761992f440549c49ac9df11df1dd831a::$classMap;153 $loader->prefixLengthsPsr4 = ComposerStaticInita80a26426afc3eb69952038a116d6cc9::$prefixLengthsPsr4; 154 $loader->prefixDirsPsr4 = ComposerStaticInita80a26426afc3eb69952038a116d6cc9::$prefixDirsPsr4; 155 $loader->classMap = ComposerStaticInita80a26426afc3eb69952038a116d6cc9::$classMap; 156 156 157 157 }, null, ClassLoader::class); -
apex-digital-toolbox/trunk/vendor-prefixed/composer/installed.php
r3735779 r3735837 3 3 array ( 4 4 'name' => 'apex-digital/apex-digital-toolbox', 5 'pretty_version' => '2.6. 0',6 'version' => '2.6. 0.0',7 'reference' => ' 90f20e6a747cbfca87968e4515d1df79ca5369e7',5 'pretty_version' => '2.6.1', 6 'version' => '2.6.1.0', 7 'reference' => '81556385a353d11d6ed03dc5f18077b153fa467f', 8 8 'type' => 'wordpress-plugin', 9 9 'install_path' => __DIR__ . '/../', -
apex-digital-toolbox/trunk/vendor/composer/installed.php
r3735779 r3735837 2 2 'root' => array( 3 3 'name' => 'apex-digital/apex-digital-toolbox', 4 'pretty_version' => '2.6. 0',5 'version' => '2.6. 0.0',6 'reference' => ' 90f20e6a747cbfca87968e4515d1df79ca5369e7',4 'pretty_version' => '2.6.1', 5 'version' => '2.6.1.0', 6 'reference' => '81556385a353d11d6ed03dc5f18077b153fa467f', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', … … 12 12 'versions' => array( 13 13 'apex-digital/apex-digital-toolbox' => array( 14 'pretty_version' => '2.6. 0',15 'version' => '2.6. 0.0',16 'reference' => ' 90f20e6a747cbfca87968e4515d1df79ca5369e7',14 'pretty_version' => '2.6.1', 15 'version' => '2.6.1.0', 16 'reference' => '81556385a353d11d6ed03dc5f18077b153fa467f', 17 17 'type' => 'wordpress-plugin', 18 18 'install_path' => __DIR__ . '/../../',
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)