Plugin Directory

Changeset 3286663


Ignore:
Timestamp:
05/03/2025 07:58:40 AM (11 months ago)
Author:
mihdan
Message:

Update to version 6.4.0 from GitHub

Location:
cyr2lat
Files:
2 deleted
18 edited
1 copied

Legend:

Unmodified
Added
Removed
  • cyr2lat/tags/6.4.0/assets/css/tables.css

    r3211834 r3286663  
    5252#ctl-success.active, #ctl-error.active, #ctl-warning.active {
    5353    padding: 10px 15px;
    54     max-height: 34px;
    55     height: 14px;
     54    max-height: 100%;
    5655    line-height: 14px;
    5756    margin-top: 15px;
  • cyr2lat/tags/6.4.0/assets/css/tables.min.css

    r3211834 r3286663  
    1 #ctl-options.ctl-tables h2,#ctl-options.ctl-tables table{display:none}#ctl-options.ctl-tables h2.nav-tab,#ctl-options.ctl-tables table.active{border-radius:4px;display:block;font-size:14px}#ctl-options.ctl-tables h2.nav-tab{overflow-wrap:break-word;padding:5px;white-space:pre-line}#ctl-options .form-table th{display:none}#ctl-options table tbody tr td{display:table-cell;padding:15px 10px}.ctl-table{display:none}#ctl-error,#ctl-success,#ctl-warning{color:#fff;font-size:14px;max-height:0;padding:0;transition:all .5s}#ctl-success{background:#8bc34a}#ctl-error{background:#d63638}#ctl-warning{background:#ff9800}#ctl-error.active,#ctl-success.active,#ctl-warning.active{height:14px;line-height:14px;margin-top:15px;max-height:34px;padding:10px 15px}#ctl-options .nav-tab-wrapper{border-bottom:none;float:left;padding-top:22px;text-align:center;width:120px}body.js #ctl-options .ctl-table{clear:none;float:left;width:calc(100% - 120px)}#ctl-options .nav-tab{border:1px solid #c3c4c7;box-sizing:border-box;clear:both;cursor:pointer;margin:0 0 23px;width:100%}#ctl-convert-existing-slugs,#ctl-options .submit{clear:both;float:left;margin-top:0;padding-bottom:0}#ctl-convert-existing-slugs .submit{margin-top:0}#ctl-options .nav-tab-active{background:#4f94d4;border-color:#2271b1;color:#fff}#ctl-options .nav-tab-current.nav-tab-active{background:#2271b1;border-color:#0a4b78;color:#fff}.ctl-table.active{display:block}.ctl-table-cell{display:flex;float:left;justify-content:space-between;margin:0 .2em 1em;position:relative;width:6.2em}td fieldset .ctl-table-cell label{border:1px solid transparent;border-radius:4px;box-sizing:border-box;display:inline-block;height:30px;line-height:30px;margin:0!important;overflow:hidden;padding:0 8px;text-align:right;vertical-align:middle;width:3em;word-break:break-all}.ctl-table-cell input{border-width:1px;display:inline-block;margin:0;vertical-align:middle;width:3em!important}.ctl-table-cell #ctl-edit-label{border:1px solid #007cba!important;border-radius:4px;box-shadow:0 0 0 1px #007cba;height:30px;left:0;margin:0;outline:none;padding:0 8px;position:absolute;top:0;width:3em!important}.ctl-table-cell #ctl-edit-label:focus-visible{outline:none}.ctl-edit-label-error{background:#ff9800}.ctl-plus{align-items:center;display:flex;height:30px;justify-content:center;position:relative;width:6.2em}.ctl-plus button{border:none;cursor:pointer;height:24px;padding:0;width:24px}.ctl-plus button:focus{outline:none}@media screen and (max-width:782px){.ctl-table-cell{width:100px}td fieldset .ctl-table-cell label{height:40px;line-height:40px;width:48px}.ctl-table-cell #ctl-edit-label{height:40px}#ctl-options table tbody tr td{padding:15px 1px}.ctl-plus{height:40px;width:100px}}
     1#ctl-options.ctl-tables h2,#ctl-options.ctl-tables table{display:none}#ctl-options.ctl-tables h2.nav-tab,#ctl-options.ctl-tables table.active{border-radius:4px;display:block;font-size:14px}#ctl-options.ctl-tables h2.nav-tab{overflow-wrap:break-word;padding:5px;white-space:pre-line}#ctl-options .form-table th{display:none}#ctl-options table tbody tr td{display:table-cell;padding:15px 10px}.ctl-table{display:none}#ctl-error,#ctl-success,#ctl-warning{color:#fff;font-size:14px;max-height:0;padding:0;transition:all .5s}#ctl-success{background:#8bc34a}#ctl-error{background:#d63638}#ctl-warning{background:#ff9800}#ctl-error.active,#ctl-success.active,#ctl-warning.active{line-height:14px;margin-top:15px;max-height:100%;padding:10px 15px}#ctl-options .nav-tab-wrapper{border-bottom:none;float:left;padding-top:22px;text-align:center;width:120px}body.js #ctl-options .ctl-table{clear:none;float:left;width:calc(100% - 120px)}#ctl-options .nav-tab{border:1px solid #c3c4c7;box-sizing:border-box;clear:both;cursor:pointer;margin:0 0 23px;width:100%}#ctl-convert-existing-slugs,#ctl-options .submit{clear:both;float:left;margin-top:0;padding-bottom:0}#ctl-convert-existing-slugs .submit{margin-top:0}#ctl-options .nav-tab-active{background:#4f94d4;border-color:#2271b1;color:#fff}#ctl-options .nav-tab-current.nav-tab-active{background:#2271b1;border-color:#0a4b78;color:#fff}.ctl-table.active{display:block}.ctl-table-cell{display:flex;float:left;justify-content:space-between;margin:0 .2em 1em;position:relative;width:6.2em}td fieldset .ctl-table-cell label{border:1px solid transparent;border-radius:4px;box-sizing:border-box;display:inline-block;height:30px;line-height:30px;margin:0!important;overflow:hidden;padding:0 8px;text-align:right;vertical-align:middle;width:3em;word-break:break-all}.ctl-table-cell input{border-width:1px;display:inline-block;margin:0;vertical-align:middle;width:3em!important}.ctl-table-cell #ctl-edit-label{border:1px solid #007cba!important;border-radius:4px;box-shadow:0 0 0 1px #007cba;height:30px;left:0;margin:0;outline:none;padding:0 8px;position:absolute;top:0;width:3em!important}.ctl-table-cell #ctl-edit-label:focus-visible{outline:none}.ctl-edit-label-error{background:#ff9800}.ctl-plus{align-items:center;display:flex;height:30px;justify-content:center;position:relative;width:6.2em}.ctl-plus button{border:none;cursor:pointer;height:24px;padding:0;width:24px}.ctl-plus button:focus{outline:none}@media screen and (max-width:782px){.ctl-table-cell{width:100px}td fieldset .ctl-table-cell label{height:40px;line-height:40px;width:48px}.ctl-table-cell #ctl-edit-label{height:40px}#ctl-options table tbody tr td{padding:15px 1px}.ctl-plus{height:40px;width:100px}}
  • cyr2lat/tags/6.4.0/cyr-to-lat.php

    r3211834 r3286663  
    1313 * Version:           6.3.0
    1414 * Requires at least: 5.3
    15  * Requires PHP:      7.2.0
     15 * Requires PHP:      7.2
    1616 * Author:            Sergey Biryukov, Mikhail Kobzarev, Igor Gergel
    1717 * Author URI:        https://profiles.wordpress.org/sergeybiryukov/
  • cyr2lat/tags/6.4.0/readme.txt

    r3211834 r3286663  
    33Tags: cyrillic, slugs, translation, transliteration
    44Requires at least: 5.3
    5 Tested up to: 6.7
     5Tested up to: 6.8
    66Stable tag: 6.3.0
    7 Requires PHP: 7.2.0
     7Requires PHP: 7.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    222222== Changelog ==
    223223
     224= 6.4.0 (03.05.2025) =
     225* Fixed the layout of messages on the Tables page.
     226* Tested with WordPress 6.8.
     227* Tested with WooCommerce 9.8.
     228
    224229= 6.3.0 (22.12.2024) =
    225230* Added warning message on the Tables page when active table does not match the site locale.
  • cyr2lat/tags/6.4.0/vendor/autoload.php

    r3211834 r3286663  
    1515        }
    1616    }
    17     trigger_error(
    18         $err,
    19         E_USER_ERROR
    20     );
     17    throw new RuntimeException($err);
    2118}
    2219
    2320require_once __DIR__ . '/composer/autoload_real.php';
    2421
    25 return ComposerAutoloaderInitd288e5bc05ffec7fab5c5946a88b734e::getLoader();
     22return ComposerAutoloaderInitcb805c9fadce0583c03c04522eed9724::getLoader();
  • cyr2lat/tags/6.4.0/vendor/composer/InstalledVersions.php

    r3211834 r3286663  
    2828{
    2929    /**
     30     * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to
     31     * @internal
     32     */
     33    private static $selfDir = null;
     34
     35    /**
    3036     * @var mixed[]|null
    3137     * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null
    3238     */
    3339    private static $installed;
     40
     41    /**
     42     * @var bool
     43     */
     44    private static $installedIsLocalDir;
    3445
    3546    /**
     
    310321        self::$installed = $data;
    311322        self::$installedByVendor = array();
     323
     324        // when using reload, we disable the duplicate protection to ensure that self::$installed data is
     325        // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not,
     326        // so we have to assume it does not, and that may result in duplicate data being returned when listing
     327        // all installed packages for example
     328        self::$installedIsLocalDir = false;
     329    }
     330
     331    /**
     332     * @return string
     333     */
     334    private static function getSelfDir()
     335    {
     336        if (self::$selfDir === null) {
     337            self::$selfDir = strtr(__DIR__, '\\', '/');
     338        }
     339
     340        return self::$selfDir;
    312341    }
    313342
     
    326355
    327356        if (self::$canGetVendors) {
     357            $selfDir = self::getSelfDir();
    328358            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
     359                $vendorDir = strtr($vendorDir, '\\', '/');
    329360                if (isset(self::$installedByVendor[$vendorDir])) {
    330361                    $installed[] = self::$installedByVendor[$vendorDir];
     
    334365                    self::$installedByVendor[$vendorDir] = $required;
    335366                    $installed[] = $required;
    336                     if (strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
     367                    if (self::$installed === null && $vendorDir.'/composer' === $selfDir) {
    337368                        self::$installed = $required;
    338                         $copiedLocalDir = true;
     369                        self::$installedIsLocalDir = true;
    339370                    }
     371                }
     372                if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) {
     373                    $copiedLocalDir = true;
    340374                }
    341375            }
  • cyr2lat/tags/6.4.0/vendor/composer/autoload_real.php

    r3211834 r3286663  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInitd288e5bc05ffec7fab5c5946a88b734e
     5class ComposerAutoloaderInitcb805c9fadce0583c03c04522eed9724
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInitd288e5bc05ffec7fab5c5946a88b734e', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInitcb805c9fadce0583c03c04522eed9724', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    27         spl_autoload_unregister(array('ComposerAutoloaderInitd288e5bc05ffec7fab5c5946a88b734e', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInitcb805c9fadce0583c03c04522eed9724', 'loadClassLoader'));
    2828
    2929        require __DIR__ . '/autoload_static.php';
    30         call_user_func(\Composer\Autoload\ComposerStaticInitd288e5bc05ffec7fab5c5946a88b734e::getInitializer($loader));
     30        call_user_func(\Composer\Autoload\ComposerStaticInitcb805c9fadce0583c03c04522eed9724::getInitializer($loader));
    3131
    3232        $loader->setClassMapAuthoritative(true);
    3333        $loader->register(true);
    3434
    35         $filesToLoad = \Composer\Autoload\ComposerStaticInitd288e5bc05ffec7fab5c5946a88b734e::$files;
     35        $filesToLoad = \Composer\Autoload\ComposerStaticInitcb805c9fadce0583c03c04522eed9724::$files;
    3636        $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
    3737            if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • cyr2lat/tags/6.4.0/vendor/composer/autoload_static.php

    r3211834 r3286663  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInitd288e5bc05ffec7fab5c5946a88b734e
     7class ComposerStaticInitcb805c9fadce0583c03c04522eed9724
    88{
    99    public static $files = array (
     
    5454    {
    5555        return \Closure::bind(function () use ($loader) {
    56             $loader->prefixLengthsPsr4 = ComposerStaticInitd288e5bc05ffec7fab5c5946a88b734e::$prefixLengthsPsr4;
    57             $loader->prefixDirsPsr4 = ComposerStaticInitd288e5bc05ffec7fab5c5946a88b734e::$prefixDirsPsr4;
    58             $loader->classMap = ComposerStaticInitd288e5bc05ffec7fab5c5946a88b734e::$classMap;
     56            $loader->prefixLengthsPsr4 = ComposerStaticInitcb805c9fadce0583c03c04522eed9724::$prefixLengthsPsr4;
     57            $loader->prefixDirsPsr4 = ComposerStaticInitcb805c9fadce0583c03c04522eed9724::$prefixDirsPsr4;
     58            $loader->classMap = ComposerStaticInitcb805c9fadce0583c03c04522eed9724::$classMap;
    5959
    6060        }, null, ClassLoader::class);
  • cyr2lat/tags/6.4.0/vendor/composer/installed.php

    r3211834 r3286663  
    22    'root' => array(
    33        'name' => 'mihdan/cyr2lat',
    4         'pretty_version' => '6.3.0',
    5         'version' => '6.3.0.0',
    6         'reference' => 'c7b6b33351a5234f9616fadd1ef03857b8216d1b',
     4        'pretty_version' => '6.4.0',
     5        'version' => '6.4.0.0',
     6        'reference' => '4851b7628e7fec38c4d1fbced70e05316f89be16',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'mihdan/cyr2lat' => array(
    14             'pretty_version' => '6.3.0',
    15             'version' => '6.3.0.0',
    16             'reference' => 'c7b6b33351a5234f9616fadd1ef03857b8216d1b',
     14            'pretty_version' => '6.4.0',
     15            'version' => '6.4.0.0',
     16            'reference' => '4851b7628e7fec38c4d1fbced70e05316f89be16',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • cyr2lat/trunk/assets/css/tables.css

    r3211834 r3286663  
    5252#ctl-success.active, #ctl-error.active, #ctl-warning.active {
    5353    padding: 10px 15px;
    54     max-height: 34px;
    55     height: 14px;
     54    max-height: 100%;
    5655    line-height: 14px;
    5756    margin-top: 15px;
  • cyr2lat/trunk/assets/css/tables.min.css

    r3211834 r3286663  
    1 #ctl-options.ctl-tables h2,#ctl-options.ctl-tables table{display:none}#ctl-options.ctl-tables h2.nav-tab,#ctl-options.ctl-tables table.active{border-radius:4px;display:block;font-size:14px}#ctl-options.ctl-tables h2.nav-tab{overflow-wrap:break-word;padding:5px;white-space:pre-line}#ctl-options .form-table th{display:none}#ctl-options table tbody tr td{display:table-cell;padding:15px 10px}.ctl-table{display:none}#ctl-error,#ctl-success,#ctl-warning{color:#fff;font-size:14px;max-height:0;padding:0;transition:all .5s}#ctl-success{background:#8bc34a}#ctl-error{background:#d63638}#ctl-warning{background:#ff9800}#ctl-error.active,#ctl-success.active,#ctl-warning.active{height:14px;line-height:14px;margin-top:15px;max-height:34px;padding:10px 15px}#ctl-options .nav-tab-wrapper{border-bottom:none;float:left;padding-top:22px;text-align:center;width:120px}body.js #ctl-options .ctl-table{clear:none;float:left;width:calc(100% - 120px)}#ctl-options .nav-tab{border:1px solid #c3c4c7;box-sizing:border-box;clear:both;cursor:pointer;margin:0 0 23px;width:100%}#ctl-convert-existing-slugs,#ctl-options .submit{clear:both;float:left;margin-top:0;padding-bottom:0}#ctl-convert-existing-slugs .submit{margin-top:0}#ctl-options .nav-tab-active{background:#4f94d4;border-color:#2271b1;color:#fff}#ctl-options .nav-tab-current.nav-tab-active{background:#2271b1;border-color:#0a4b78;color:#fff}.ctl-table.active{display:block}.ctl-table-cell{display:flex;float:left;justify-content:space-between;margin:0 .2em 1em;position:relative;width:6.2em}td fieldset .ctl-table-cell label{border:1px solid transparent;border-radius:4px;box-sizing:border-box;display:inline-block;height:30px;line-height:30px;margin:0!important;overflow:hidden;padding:0 8px;text-align:right;vertical-align:middle;width:3em;word-break:break-all}.ctl-table-cell input{border-width:1px;display:inline-block;margin:0;vertical-align:middle;width:3em!important}.ctl-table-cell #ctl-edit-label{border:1px solid #007cba!important;border-radius:4px;box-shadow:0 0 0 1px #007cba;height:30px;left:0;margin:0;outline:none;padding:0 8px;position:absolute;top:0;width:3em!important}.ctl-table-cell #ctl-edit-label:focus-visible{outline:none}.ctl-edit-label-error{background:#ff9800}.ctl-plus{align-items:center;display:flex;height:30px;justify-content:center;position:relative;width:6.2em}.ctl-plus button{border:none;cursor:pointer;height:24px;padding:0;width:24px}.ctl-plus button:focus{outline:none}@media screen and (max-width:782px){.ctl-table-cell{width:100px}td fieldset .ctl-table-cell label{height:40px;line-height:40px;width:48px}.ctl-table-cell #ctl-edit-label{height:40px}#ctl-options table tbody tr td{padding:15px 1px}.ctl-plus{height:40px;width:100px}}
     1#ctl-options.ctl-tables h2,#ctl-options.ctl-tables table{display:none}#ctl-options.ctl-tables h2.nav-tab,#ctl-options.ctl-tables table.active{border-radius:4px;display:block;font-size:14px}#ctl-options.ctl-tables h2.nav-tab{overflow-wrap:break-word;padding:5px;white-space:pre-line}#ctl-options .form-table th{display:none}#ctl-options table tbody tr td{display:table-cell;padding:15px 10px}.ctl-table{display:none}#ctl-error,#ctl-success,#ctl-warning{color:#fff;font-size:14px;max-height:0;padding:0;transition:all .5s}#ctl-success{background:#8bc34a}#ctl-error{background:#d63638}#ctl-warning{background:#ff9800}#ctl-error.active,#ctl-success.active,#ctl-warning.active{line-height:14px;margin-top:15px;max-height:100%;padding:10px 15px}#ctl-options .nav-tab-wrapper{border-bottom:none;float:left;padding-top:22px;text-align:center;width:120px}body.js #ctl-options .ctl-table{clear:none;float:left;width:calc(100% - 120px)}#ctl-options .nav-tab{border:1px solid #c3c4c7;box-sizing:border-box;clear:both;cursor:pointer;margin:0 0 23px;width:100%}#ctl-convert-existing-slugs,#ctl-options .submit{clear:both;float:left;margin-top:0;padding-bottom:0}#ctl-convert-existing-slugs .submit{margin-top:0}#ctl-options .nav-tab-active{background:#4f94d4;border-color:#2271b1;color:#fff}#ctl-options .nav-tab-current.nav-tab-active{background:#2271b1;border-color:#0a4b78;color:#fff}.ctl-table.active{display:block}.ctl-table-cell{display:flex;float:left;justify-content:space-between;margin:0 .2em 1em;position:relative;width:6.2em}td fieldset .ctl-table-cell label{border:1px solid transparent;border-radius:4px;box-sizing:border-box;display:inline-block;height:30px;line-height:30px;margin:0!important;overflow:hidden;padding:0 8px;text-align:right;vertical-align:middle;width:3em;word-break:break-all}.ctl-table-cell input{border-width:1px;display:inline-block;margin:0;vertical-align:middle;width:3em!important}.ctl-table-cell #ctl-edit-label{border:1px solid #007cba!important;border-radius:4px;box-shadow:0 0 0 1px #007cba;height:30px;left:0;margin:0;outline:none;padding:0 8px;position:absolute;top:0;width:3em!important}.ctl-table-cell #ctl-edit-label:focus-visible{outline:none}.ctl-edit-label-error{background:#ff9800}.ctl-plus{align-items:center;display:flex;height:30px;justify-content:center;position:relative;width:6.2em}.ctl-plus button{border:none;cursor:pointer;height:24px;padding:0;width:24px}.ctl-plus button:focus{outline:none}@media screen and (max-width:782px){.ctl-table-cell{width:100px}td fieldset .ctl-table-cell label{height:40px;line-height:40px;width:48px}.ctl-table-cell #ctl-edit-label{height:40px}#ctl-options table tbody tr td{padding:15px 1px}.ctl-plus{height:40px;width:100px}}
  • cyr2lat/trunk/cyr-to-lat.php

    r3211834 r3286663  
    1313 * Version:           6.3.0
    1414 * Requires at least: 5.3
    15  * Requires PHP:      7.2.0
     15 * Requires PHP:      7.2
    1616 * Author:            Sergey Biryukov, Mikhail Kobzarev, Igor Gergel
    1717 * Author URI:        https://profiles.wordpress.org/sergeybiryukov/
  • cyr2lat/trunk/readme.txt

    r3211834 r3286663  
    33Tags: cyrillic, slugs, translation, transliteration
    44Requires at least: 5.3
    5 Tested up to: 6.7
     5Tested up to: 6.8
    66Stable tag: 6.3.0
    7 Requires PHP: 7.2.0
     7Requires PHP: 7.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    222222== Changelog ==
    223223
     224= 6.4.0 (03.05.2025) =
     225* Fixed the layout of messages on the Tables page.
     226* Tested with WordPress 6.8.
     227* Tested with WooCommerce 9.8.
     228
    224229= 6.3.0 (22.12.2024) =
    225230* Added warning message on the Tables page when active table does not match the site locale.
  • cyr2lat/trunk/vendor/autoload.php

    r3211834 r3286663  
    1515        }
    1616    }
    17     trigger_error(
    18         $err,
    19         E_USER_ERROR
    20     );
     17    throw new RuntimeException($err);
    2118}
    2219
    2320require_once __DIR__ . '/composer/autoload_real.php';
    2421
    25 return ComposerAutoloaderInitd288e5bc05ffec7fab5c5946a88b734e::getLoader();
     22return ComposerAutoloaderInitcb805c9fadce0583c03c04522eed9724::getLoader();
  • cyr2lat/trunk/vendor/composer/InstalledVersions.php

    r3211834 r3286663  
    2828{
    2929    /**
     30     * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to
     31     * @internal
     32     */
     33    private static $selfDir = null;
     34
     35    /**
    3036     * @var mixed[]|null
    3137     * @psalm-var array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}|array{}|null
    3238     */
    3339    private static $installed;
     40
     41    /**
     42     * @var bool
     43     */
     44    private static $installedIsLocalDir;
    3445
    3546    /**
     
    310321        self::$installed = $data;
    311322        self::$installedByVendor = array();
     323
     324        // when using reload, we disable the duplicate protection to ensure that self::$installed data is
     325        // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not,
     326        // so we have to assume it does not, and that may result in duplicate data being returned when listing
     327        // all installed packages for example
     328        self::$installedIsLocalDir = false;
     329    }
     330
     331    /**
     332     * @return string
     333     */
     334    private static function getSelfDir()
     335    {
     336        if (self::$selfDir === null) {
     337            self::$selfDir = strtr(__DIR__, '\\', '/');
     338        }
     339
     340        return self::$selfDir;
    312341    }
    313342
     
    326355
    327356        if (self::$canGetVendors) {
     357            $selfDir = self::getSelfDir();
    328358            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
     359                $vendorDir = strtr($vendorDir, '\\', '/');
    329360                if (isset(self::$installedByVendor[$vendorDir])) {
    330361                    $installed[] = self::$installedByVendor[$vendorDir];
     
    334365                    self::$installedByVendor[$vendorDir] = $required;
    335366                    $installed[] = $required;
    336                     if (strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
     367                    if (self::$installed === null && $vendorDir.'/composer' === $selfDir) {
    337368                        self::$installed = $required;
    338                         $copiedLocalDir = true;
     369                        self::$installedIsLocalDir = true;
    339370                    }
     371                }
     372                if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) {
     373                    $copiedLocalDir = true;
    340374                }
    341375            }
  • cyr2lat/trunk/vendor/composer/autoload_real.php

    r3211834 r3286663  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInitd288e5bc05ffec7fab5c5946a88b734e
     5class ComposerAutoloaderInitcb805c9fadce0583c03c04522eed9724
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInitd288e5bc05ffec7fab5c5946a88b734e', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInitcb805c9fadce0583c03c04522eed9724', 'loadClassLoader'), true, true);
    2626        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    27         spl_autoload_unregister(array('ComposerAutoloaderInitd288e5bc05ffec7fab5c5946a88b734e', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInitcb805c9fadce0583c03c04522eed9724', 'loadClassLoader'));
    2828
    2929        require __DIR__ . '/autoload_static.php';
    30         call_user_func(\Composer\Autoload\ComposerStaticInitd288e5bc05ffec7fab5c5946a88b734e::getInitializer($loader));
     30        call_user_func(\Composer\Autoload\ComposerStaticInitcb805c9fadce0583c03c04522eed9724::getInitializer($loader));
    3131
    3232        $loader->setClassMapAuthoritative(true);
    3333        $loader->register(true);
    3434
    35         $filesToLoad = \Composer\Autoload\ComposerStaticInitd288e5bc05ffec7fab5c5946a88b734e::$files;
     35        $filesToLoad = \Composer\Autoload\ComposerStaticInitcb805c9fadce0583c03c04522eed9724::$files;
    3636        $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
    3737            if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • cyr2lat/trunk/vendor/composer/autoload_static.php

    r3211834 r3286663  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInitd288e5bc05ffec7fab5c5946a88b734e
     7class ComposerStaticInitcb805c9fadce0583c03c04522eed9724
    88{
    99    public static $files = array (
     
    5454    {
    5555        return \Closure::bind(function () use ($loader) {
    56             $loader->prefixLengthsPsr4 = ComposerStaticInitd288e5bc05ffec7fab5c5946a88b734e::$prefixLengthsPsr4;
    57             $loader->prefixDirsPsr4 = ComposerStaticInitd288e5bc05ffec7fab5c5946a88b734e::$prefixDirsPsr4;
    58             $loader->classMap = ComposerStaticInitd288e5bc05ffec7fab5c5946a88b734e::$classMap;
     56            $loader->prefixLengthsPsr4 = ComposerStaticInitcb805c9fadce0583c03c04522eed9724::$prefixLengthsPsr4;
     57            $loader->prefixDirsPsr4 = ComposerStaticInitcb805c9fadce0583c03c04522eed9724::$prefixDirsPsr4;
     58            $loader->classMap = ComposerStaticInitcb805c9fadce0583c03c04522eed9724::$classMap;
    5959
    6060        }, null, ClassLoader::class);
  • cyr2lat/trunk/vendor/composer/installed.php

    r3211834 r3286663  
    22    'root' => array(
    33        'name' => 'mihdan/cyr2lat',
    4         'pretty_version' => '6.3.0',
    5         'version' => '6.3.0.0',
    6         'reference' => 'c7b6b33351a5234f9616fadd1ef03857b8216d1b',
     4        'pretty_version' => '6.4.0',
     5        'version' => '6.4.0.0',
     6        'reference' => '4851b7628e7fec38c4d1fbced70e05316f89be16',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'mihdan/cyr2lat' => array(
    14             'pretty_version' => '6.3.0',
    15             'version' => '6.3.0.0',
    16             'reference' => 'c7b6b33351a5234f9616fadd1ef03857b8216d1b',
     14            'pretty_version' => '6.4.0',
     15            'version' => '6.4.0.0',
     16            'reference' => '4851b7628e7fec38c4d1fbced70e05316f89be16',
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.