Plugin Directory

Changeset 3735837


Ignore:
Timestamp:
10/09/2026 03:48:50 AM (2 weeks ago)
Author:
nwells
Message:

Update to version 2.6.1 from GitHub

Location:
apex-digital-toolbox
Files:
18 edited
1 copied

Legend:

Unmodified
Added
Removed
  • apex-digital-toolbox/tags/2.6.1/apex-digital-toolbox.php

    r3735779 r3735837  
    55Plugin URI: https://www.apexdigital.co.nz/
    66Description: Adds additional functionality that to make it easier to setup sites
    7 Version: 2.6.0
     7Version: 2.6.1
    88Requires at least: 6.9
    99Tested up to: 7.0
  • apex-digital-toolbox/tags/2.6.1/readme.txt

    r3735779 r3735837  
    66Requires PHP: 8.1
    77Tested up to: 7.0
    8 Stable tag: 2.6.0
     8Stable tag: 2.6.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
    … …  
    7373
    7474== 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
    7578= 2.6.0 =
    7679* 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  
    3939            . "/**\n"
    4040            . " * 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"
    4344            . " rewrites this file when it changes and deletes it on deactivation.\n"
    4445            . " */\n"
  • apex-digital-toolbox/tags/2.6.1/src/Updates/WakeUpdaters.php

    r3710444 r3735837  
    66
    77/**
    8  * Wakes the premium-plugin updaters that stay dormant under WP-CLI.
     8 * Wakes the premium plugin and theme updaters that stay dormant under WP-CLI.
    99 *
    1010 * 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 bulk
    12  * 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:
    1313 *
    1414 * - 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.
    1618 * - DOING_CRON - EDD Software Licensing (WPDeveloper's Essential Addons and others). The updater
    1719 *   bails unless `current_user_can( 'manage_options' ) || DOING_CRON`. `--user=1` does not get
    … …  
    2527 * it free of dependencies on anything else in the plugin.
    2628 *
    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()
    2831 * and wp_doing_cron() true for the rest of the process, which is exactly right for an update
    2932 * check and wrong for a system-cron `wp cron event run`, an import or a search-replace - every
    … …  
    7477        }
    7578
    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);
    7781    }
    7882
  • apex-digital-toolbox/tags/2.6.1/vendor-prefixed/autoload.php

    r3735779 r3735837  
    2020require_once __DIR__ . '/composer/autoload_real.php';
    2121
    22 return ComposerAutoloaderInit761992f440549c49ac9df11df1dd831a::getLoader();
     22return ComposerAutoloaderInita80a26426afc3eb69952038a116d6cc9::getLoader();
  • apex-digital-toolbox/tags/2.6.1/vendor-prefixed/composer/autoload_real.php

    r3735779 r3735837  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit761992f440549c49ac9df11df1dd831a
     5class ComposerAutoloaderInita80a26426afc3eb69952038a116d6cc9
    66{
    77    private static $loader;
    … …  
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit761992f440549c49ac9df11df1dd831a', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInita80a26426afc3eb69952038a116d6cc9', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \ApexToolbox\Vendor\Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit761992f440549c49ac9df11df1dd831a', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInita80a26426afc3eb69952038a116d6cc9', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\ApexToolbox\Vendor\Composer\Autoload\ComposerStaticInit761992f440549c49ac9df11df1dd831a::getInitializer($loader));
     32        call_user_func(\ApexToolbox\Vendor\Composer\Autoload\ComposerStaticInita80a26426afc3eb69952038a116d6cc9::getInitializer($loader));
    3333
    3434        $loader->setClassMapAuthoritative(true);
    3535        $loader->register(true);
    3636
    37         $filesToLoad = \ApexToolbox\Vendor\Composer\Autoload\ComposerStaticInit761992f440549c49ac9df11df1dd831a::$files;
     37        $filesToLoad = \ApexToolbox\Vendor\Composer\Autoload\ComposerStaticInita80a26426afc3eb69952038a116d6cc9::$files;
    3838        $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
    3939            if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • apex-digital-toolbox/tags/2.6.1/vendor-prefixed/composer/autoload_static.php

    r3735779 r3735837  
    55namespace ApexToolbox\Vendor\Composer\Autoload;
    66
    7 class ComposerStaticInit761992f440549c49ac9df11df1dd831a
     7class ComposerStaticInita80a26426afc3eb69952038a116d6cc9
    88{
    99    public static $files = array (
    … …  
    151151    {
    152152        return \Closure::bind(function () use ($loader) {
    153             $loader->prefixLengthsPsr4 = ComposerStaticInit761992f440549c49ac9df11df1dd831a::$prefixLengthsPsr4;
    154             $loader->prefixDirsPsr4 = ComposerStaticInit761992f440549c49ac9df11df1dd831a::$prefixDirsPsr4;
    155             $loader->classMap = ComposerStaticInit761992f440549c49ac9df11df1dd831a::$classMap;
     153            $loader->prefixLengthsPsr4 = ComposerStaticInita80a26426afc3eb69952038a116d6cc9::$prefixLengthsPsr4;
     154            $loader->prefixDirsPsr4 = ComposerStaticInita80a26426afc3eb69952038a116d6cc9::$prefixDirsPsr4;
     155            $loader->classMap = ComposerStaticInita80a26426afc3eb69952038a116d6cc9::$classMap;
    156156
    157157        }, null, ClassLoader::class);
  • apex-digital-toolbox/tags/2.6.1/vendor-prefixed/composer/installed.php

    r3735779 r3735837  
    33  array (
    44    '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',
    88    'type' => 'wordpress-plugin',
    99    'install_path' => __DIR__ . '/../',
  • apex-digital-toolbox/tags/2.6.1/vendor/composer/installed.php

    r3735779 r3735837  
    22    'root' => array(
    33        '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',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
    … …  
    1212    'versions' => array(
    1313        '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',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • apex-digital-toolbox/trunk/apex-digital-toolbox.php

    r3735779 r3735837  
    55Plugin URI: https://www.apexdigital.co.nz/
    66Description: Adds additional functionality that to make it easier to setup sites
    7 Version: 2.6.0
     7Version: 2.6.1
    88Requires at least: 6.9
    99Tested up to: 7.0
  • apex-digital-toolbox/trunk/readme.txt

    r3735779 r3735837  
    66Requires PHP: 8.1
    77Tested up to: 7.0
    8 Stable tag: 2.6.0
     8Stable tag: 2.6.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
    … …  
    7373
    7474== 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
    7578= 2.6.0 =
    7679* 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  
    3939            . "/**\n"
    4040            . " * 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"
    4344            . " rewrites this file when it changes and deletes it on deactivation.\n"
    4445            . " */\n"
  • apex-digital-toolbox/trunk/src/Updates/WakeUpdaters.php

    r3710444 r3735837  
    66
    77/**
    8  * Wakes the premium-plugin updaters that stay dormant under WP-CLI.
     8 * Wakes the premium plugin and theme updaters that stay dormant under WP-CLI.
    99 *
    1010 * 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 bulk
    12  * 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:
    1313 *
    1414 * - 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.
    1618 * - DOING_CRON - EDD Software Licensing (WPDeveloper's Essential Addons and others). The updater
    1719 *   bails unless `current_user_can( 'manage_options' ) || DOING_CRON`. `--user=1` does not get
    … …  
    2527 * it free of dependencies on anything else in the plugin.
    2628 *
    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()
    2831 * and wp_doing_cron() true for the rest of the process, which is exactly right for an update
    2932 * check and wrong for a system-cron `wp cron event run`, an import or a search-replace - every
    … …  
    7477        }
    7578
    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);
    7781    }
    7882
  • apex-digital-toolbox/trunk/vendor-prefixed/autoload.php

    r3735779 r3735837  
    2020require_once __DIR__ . '/composer/autoload_real.php';
    2121
    22 return ComposerAutoloaderInit761992f440549c49ac9df11df1dd831a::getLoader();
     22return ComposerAutoloaderInita80a26426afc3eb69952038a116d6cc9::getLoader();
  • apex-digital-toolbox/trunk/vendor-prefixed/composer/autoload_real.php

    r3735779 r3735837  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit761992f440549c49ac9df11df1dd831a
     5class ComposerAutoloaderInita80a26426afc3eb69952038a116d6cc9
    66{
    77    private static $loader;
    … …  
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit761992f440549c49ac9df11df1dd831a', 'loadClassLoader'), true, true);
     27        spl_autoload_register(array('ComposerAutoloaderInita80a26426afc3eb69952038a116d6cc9', 'loadClassLoader'), true, true);
    2828        self::$loader = $loader = new \ApexToolbox\Vendor\Composer\Autoload\ClassLoader(\dirname(__DIR__));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit761992f440549c49ac9df11df1dd831a', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInita80a26426afc3eb69952038a116d6cc9', 'loadClassLoader'));
    3030
    3131        require __DIR__ . '/autoload_static.php';
    32         call_user_func(\ApexToolbox\Vendor\Composer\Autoload\ComposerStaticInit761992f440549c49ac9df11df1dd831a::getInitializer($loader));
     32        call_user_func(\ApexToolbox\Vendor\Composer\Autoload\ComposerStaticInita80a26426afc3eb69952038a116d6cc9::getInitializer($loader));
    3333
    3434        $loader->setClassMapAuthoritative(true);
    3535        $loader->register(true);
    3636
    37         $filesToLoad = \ApexToolbox\Vendor\Composer\Autoload\ComposerStaticInit761992f440549c49ac9df11df1dd831a::$files;
     37        $filesToLoad = \ApexToolbox\Vendor\Composer\Autoload\ComposerStaticInita80a26426afc3eb69952038a116d6cc9::$files;
    3838        $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
    3939            if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • apex-digital-toolbox/trunk/vendor-prefixed/composer/autoload_static.php

    r3735779 r3735837  
    55namespace ApexToolbox\Vendor\Composer\Autoload;
    66
    7 class ComposerStaticInit761992f440549c49ac9df11df1dd831a
     7class ComposerStaticInita80a26426afc3eb69952038a116d6cc9
    88{
    99    public static $files = array (
    … …  
    151151    {
    152152        return \Closure::bind(function () use ($loader) {
    153             $loader->prefixLengthsPsr4 = ComposerStaticInit761992f440549c49ac9df11df1dd831a::$prefixLengthsPsr4;
    154             $loader->prefixDirsPsr4 = ComposerStaticInit761992f440549c49ac9df11df1dd831a::$prefixDirsPsr4;
    155             $loader->classMap = ComposerStaticInit761992f440549c49ac9df11df1dd831a::$classMap;
     153            $loader->prefixLengthsPsr4 = ComposerStaticInita80a26426afc3eb69952038a116d6cc9::$prefixLengthsPsr4;
     154            $loader->prefixDirsPsr4 = ComposerStaticInita80a26426afc3eb69952038a116d6cc9::$prefixDirsPsr4;
     155            $loader->classMap = ComposerStaticInita80a26426afc3eb69952038a116d6cc9::$classMap;
    156156
    157157        }, null, ClassLoader::class);
  • apex-digital-toolbox/trunk/vendor-prefixed/composer/installed.php

    r3735779 r3735837  
    33  array (
    44    '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',
    88    'type' => 'wordpress-plugin',
    99    'install_path' => __DIR__ . '/../',
  • apex-digital-toolbox/trunk/vendor/composer/installed.php

    r3735779 r3735837  
    22    'root' => array(
    33        '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',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
    … …  
    1212    'versions' => array(
    1313        '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',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.