Plugin Directory

Changeset 3198122


Ignore:
Timestamp:
11/27/2024 12:17:44 PM (16 months ago)
Author:
maneshtimilsina
Message:

Committing 2.0.1 to trunk

Location:
majestic-before-after-image/trunk
Files:
1 deleted
15 edited

Legend:

Unmodified
Added
Removed
  • majestic-before-after-image/trunk/assets/css/mbai-elementor.css

    r3109210 r3198122  
    11
    2     .mbai-before-after-wrap.handle-type-arrows .twentytwenty-horizontal .twentytwenty-handle:before,
    3     .mbai-before-after-wrap.handle-type-arrows .twentytwenty-horizontal .twentytwenty-handle:after {
     2    .mbai-before-after-wrap.handle-type-arrows .twentytwenty-horizontal .twentytwenty-handle:before,.mbai-before-after-wrap.handle-type-arrows .twentytwenty-horizontal .twentytwenty-handle:after {
    43        box-shadow: none;
    54    }
    65
    7 .mbai-before-after-wrap.handle-type-arrows.handle-style-2 .twentytwenty-horizontal .twentytwenty-handle,
    8         .mbai-before-after-wrap.handle-type-arrows.handle-style-2 .twentytwenty-vertical .twentytwenty-handle {
     6.mbai-before-after-wrap.handle-type-arrows.handle-style-2 .twentytwenty-horizontal .twentytwenty-handle,.mbai-before-after-wrap.handle-type-arrows.handle-style-2 .twentytwenty-vertical .twentytwenty-handle {
    97            background-color: #fff;
    108        }
     
    3432        }
    3533
    36 .mbai-before-after-wrap.handle-type-arrows.handle-style-4 .twentytwenty-horizontal .twentytwenty-handle,
    37         .mbai-before-after-wrap.handle-type-arrows.handle-style-4 .twentytwenty-vertical .twentytwenty-handle {
     34.mbai-before-after-wrap.handle-type-arrows.handle-style-4 .twentytwenty-horizontal .twentytwenty-handle,.mbai-before-after-wrap.handle-type-arrows.handle-style-4 .twentytwenty-vertical .twentytwenty-handle {
    3835            border-radius: 0;
    3936            background-color: #fff;
     
    8077        }
    8178
    82 .mbai-before-after-wrap.handle-type-arrows.handle-style-6 .twentytwenty-horizontal .twentytwenty-handle,
    83         .mbai-before-after-wrap.handle-type-arrows.handle-style-6 .twentytwenty-vertical .twentytwenty-handle {
     79.mbai-before-after-wrap.handle-type-arrows.handle-style-6 .twentytwenty-horizontal .twentytwenty-handle,.mbai-before-after-wrap.handle-type-arrows.handle-style-6 .twentytwenty-vertical .twentytwenty-handle {
    8480            background-color: #fff;
    8581        }
     
    125121        }
    126122
    127 .mbai-before-after-wrap.handle-type-arrows .twentytwenty-labels-status-always .twentytwenty-before-label,
    128         .mbai-before-after-wrap.handle-type-arrows .twentytwenty-labels-status-always .twentytwenty-after-label {
     123:is(.mbai-before-after-wrap.handle-type-arrows .twentytwenty-labels-status-always) .twentytwenty-before-label,:is(.mbai-before-after-wrap.handle-type-arrows .twentytwenty-labels-status-always) .twentytwenty-after-label {
    129124            opacity: 1;
    130125        }
     
    134129    }
    135130
    136 .mbai-before-after-wrap.handle-type-text .twentytwenty-horizontal .twentytwenty-handle:before,
    137     .mbai-before-after-wrap.handle-type-text .twentytwenty-horizontal .twentytwenty-handle:after {
     131.mbai-before-after-wrap.handle-type-text .twentytwenty-horizontal .twentytwenty-handle:before,.mbai-before-after-wrap.handle-type-text .twentytwenty-horizontal .twentytwenty-handle:after {
    138132        box-shadow: none;
    139133    }
     
    156150    }
    157151
    158 .mbai-before-after-wrap.handle-type-text .twentytwenty-handle:before,
    159     .mbai-before-after-wrap.handle-type-text .twentytwenty-handle:after {
     152.mbai-before-after-wrap.handle-type-text .twentytwenty-handle:before,.mbai-before-after-wrap.handle-type-text .twentytwenty-handle:after {
    160153        z-index: -1;
    161154    }
  • majestic-before-after-image/trunk/languages/majestic-before-after-image.pot

    r3128723 r3198122  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Majestic Before After Image 2.0.0\n"
     5"Project-Id-Version: Majestic Before After Image 2.0.1\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/majestic-before-after-image\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1212"POT-Creation-Date: \n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    14 "X-Generator: WP-CLI 2.10.0\n"
     14"X-Generator: WP-CLI 2.11.0\n"
    1515"X-Domain: majestic-before-after-image\n"
    1616
  • majestic-before-after-image/trunk/majestic-before-after-image.php

    r3128723 r3198122  
    44 * Plugin URI: https://maneshtimilsina.com/plugins/majestic-before-after-image/
    55 * Description: Majestic Before After Image is an Elementor addon to show the comparison of two images with a draggable handle.
    6  * Version: 2.0.0
     6 * Version: 2.0.1
    77 * Requires PHP: 7.4
    88 * Requires at least: 6.0
     
    2020defined( 'ABSPATH' ) || exit;
    2121
    22 define( 'MBAI_VERSION', '2.0.0' );
     22define( 'MBAI_VERSION', '2.0.1' );
    2323define( 'MBAI_SLUG', 'majestic-before-after-image' );
    2424define( 'MBAI_BASE_NAME', basename( __DIR__ ) );
  • majestic-before-after-image/trunk/readme.txt

    r3128723 r3198122  
    44Donate link: https://ko-fi.com/maneshtimilsina
    55Tags: before, after, image, comparison, elementor
    6 Stable tag: 2.0.0
    7 Tested up to: 6.6
     6Stable tag: 2.0.1
     7Tested up to: 6.7
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    6666== Changelog ==
    6767
     68= 2.0.1 - 27 Nov 2024 =
     69* WP Compatibility 6.7
     70* Update packages
     71
    6872= 2.0.0 - 31 Jul 2024 =
    6973* WP Compatibility 6.6
  • majestic-before-after-image/trunk/vendor/autoload.php

    r3128723 r3198122  
    33// autoload.php @generated by Composer
    44
     5if (PHP_VERSION_ID < 50600) {
     6    if (!headers_sent()) {
     7        header('HTTP/1.1 500 Internal Server Error');
     8    }
     9    $err = 'Composer 2.3.0 dropped support for autoloading on PHP <5.6 and you are running '.PHP_VERSION.', please upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2". Aborting.'.PHP_EOL;
     10    if (!ini_get('display_errors')) {
     11        if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
     12            fwrite(STDERR, $err);
     13        } elseif (!headers_sent()) {
     14            echo $err;
     15        }
     16    }
     17    trigger_error(
     18        $err,
     19        E_USER_ERROR
     20    );
     21}
     22
    523require_once __DIR__ . '/composer/autoload_real.php';
    624
    7 return ComposerAutoloaderInitff26b1144b87da9e63a4bf6732c9e02c::getLoader();
     25return ComposerAutoloaderInit4c63a3cc7a8b5e306214cf95ff8fbdce::getLoader();
  • majestic-before-after-image/trunk/vendor/composer/ClassLoader.php

    r3103573 r3198122  
    4343class ClassLoader
    4444{
    45     /** @var ?string */
     45    /** @var \Closure(string):void */
     46    private static $includeFile;
     47
     48    /** @var string|null */
    4649    private $vendorDir;
    4750
    4851    // PSR-4
    4952    /**
    50      * @var array[]
    51      * @psalm-var array<string, array<string, int>>
     53     * @var array<string, array<string, int>>
    5254     */
    5355    private $prefixLengthsPsr4 = array();
    5456    /**
    55      * @var array[]
    56      * @psalm-var array<string, array<int, string>>
     57     * @var array<string, list<string>>
    5758     */
    5859    private $prefixDirsPsr4 = array();
    5960    /**
    60      * @var array[]
    61      * @psalm-var array<string, string>
     61     * @var list<string>
    6262     */
    6363    private $fallbackDirsPsr4 = array();
     
    6565    // PSR-0
    6666    /**
    67      * @var array[]
    68      * @psalm-var array<string, array<string, string[]>>
     67     * List of PSR-0 prefixes
     68     *
     69     * Structured as array('F (first letter)' => array('Foo\Bar (full prefix)' => array('path', 'path2')))
     70     *
     71     * @var array<string, array<string, list<string>>>
    6972     */
    7073    private $prefixesPsr0 = array();
    7174    /**
    72      * @var array[]
    73      * @psalm-var array<string, string>
     75     * @var list<string>
    7476     */
    7577    private $fallbackDirsPsr0 = array();
     
    7981
    8082    /**
    81      * @var string[]
    82      * @psalm-var array<string, string>
     83     * @var array<string, string>
    8384     */
    8485    private $classMap = array();
     
    8889
    8990    /**
    90      * @var bool[]
    91      * @psalm-var array<string, bool>
     91     * @var array<string, bool>
    9292     */
    9393    private $missingClasses = array();
    9494
    95     /** @var ?string */
     95    /** @var string|null */
    9696    private $apcuPrefix;
    9797
    9898    /**
    99      * @var self[]
     99     * @var array<string, self>
    100100     */
    101101    private static $registeredLoaders = array();
    102102
    103103    /**
    104      * @param ?string $vendorDir
     104     * @param string|null $vendorDir
    105105     */
    106106    public function __construct($vendorDir = null)
    107107    {
    108108        $this->vendorDir = $vendorDir;
    109     }
    110 
    111     /**
    112      * @return string[]
     109        self::initializeIncludeClosure();
     110    }
     111
     112    /**
     113     * @return array<string, list<string>>
    113114     */
    114115    public function getPrefixes()
     
    122123
    123124    /**
    124      * @return array[]
    125      * @psalm-return array<string, array<int, string>>
     125     * @return array<string, list<string>>
    126126     */
    127127    public function getPrefixesPsr4()
     
    131131
    132132    /**
    133      * @return array[]
    134      * @psalm-return array<string, string>
     133     * @return list<string>
    135134     */
    136135    public function getFallbackDirs()
     
    140139
    141140    /**
    142      * @return array[]
    143      * @psalm-return array<string, string>
     141     * @return list<string>
    144142     */
    145143    public function getFallbackDirsPsr4()
     
    149147
    150148    /**
    151      * @return string[] Array of classname => path
    152      * @psalm-return array<string, string>
     149     * @return array<string, string> Array of classname => path
    153150     */
    154151    public function getClassMap()
     
    158155
    159156    /**
    160      * @param string[] $classMap Class to filename map
    161      * @psalm-param array<string, string> $classMap
     157     * @param array<string, string> $classMap Class to filename map
    162158     *
    163159     * @return void
     
    176172     * appending or prepending to the ones previously set for this prefix.
    177173     *
    178      * @param string          $prefix  The prefix
    179      * @param string[]|string $paths   The PSR-0 root directories
    180      * @param bool            $prepend Whether to prepend the directories
     174     * @param string              $prefix  The prefix
     175     * @param list<string>|string $paths   The PSR-0 root directories
     176     * @param bool                $prepend Whether to prepend the directories
    181177     *
    182178     * @return void
     
    184180    public function add($prefix, $paths, $prepend = false)
    185181    {
     182        $paths = (array) $paths;
    186183        if (!$prefix) {
    187184            if ($prepend) {
    188185                $this->fallbackDirsPsr0 = array_merge(
    189                     (array) $paths,
     186                    $paths,
    190187                    $this->fallbackDirsPsr0
    191188                );
     
    193190                $this->fallbackDirsPsr0 = array_merge(
    194191                    $this->fallbackDirsPsr0,
    195                     (array) $paths
     192                    $paths
    196193                );
    197194            }
     
    202199        $first = $prefix[0];
    203200        if (!isset($this->prefixesPsr0[$first][$prefix])) {
    204             $this->prefixesPsr0[$first][$prefix] = (array) $paths;
     201            $this->prefixesPsr0[$first][$prefix] = $paths;
    205202
    206203            return;
     
    208205        if ($prepend) {
    209206            $this->prefixesPsr0[$first][$prefix] = array_merge(
    210                 (array) $paths,
     207                $paths,
    211208                $this->prefixesPsr0[$first][$prefix]
    212209            );
     
    214211            $this->prefixesPsr0[$first][$prefix] = array_merge(
    215212                $this->prefixesPsr0[$first][$prefix],
    216                 (array) $paths
     213                $paths
    217214            );
    218215        }
     
    223220     * appending or prepending to the ones previously set for this namespace.
    224221     *
    225      * @param string          $prefix  The prefix/namespace, with trailing '\\'
    226      * @param string[]|string $paths   The PSR-4 base directories
    227      * @param bool            $prepend Whether to prepend the directories
     222     * @param string              $prefix  The prefix/namespace, with trailing '\\'
     223     * @param list<string>|string $paths   The PSR-4 base directories
     224     * @param bool                $prepend Whether to prepend the directories
    228225     *
    229226     * @throws \InvalidArgumentException
     
    233230    public function addPsr4($prefix, $paths, $prepend = false)
    234231    {
     232        $paths = (array) $paths;
    235233        if (!$prefix) {
    236234            // Register directories for the root namespace.
    237235            if ($prepend) {
    238236                $this->fallbackDirsPsr4 = array_merge(
    239                     (array) $paths,
     237                    $paths,
    240238                    $this->fallbackDirsPsr4
    241239                );
     
    243241                $this->fallbackDirsPsr4 = array_merge(
    244242                    $this->fallbackDirsPsr4,
    245                     (array) $paths
     243                    $paths
    246244                );
    247245            }
     
    253251            }
    254252            $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
    255             $this->prefixDirsPsr4[$prefix] = (array) $paths;
     253            $this->prefixDirsPsr4[$prefix] = $paths;
    256254        } elseif ($prepend) {
    257255            // Prepend directories for an already registered namespace.
    258256            $this->prefixDirsPsr4[$prefix] = array_merge(
    259                 (array) $paths,
     257                $paths,
    260258                $this->prefixDirsPsr4[$prefix]
    261259            );
     
    264262            $this->prefixDirsPsr4[$prefix] = array_merge(
    265263                $this->prefixDirsPsr4[$prefix],
    266                 (array) $paths
     264                $paths
    267265            );
    268266        }
     
    273271     * replacing any others previously set for this prefix.
    274272     *
    275      * @param string          $prefix The prefix
    276      * @param string[]|string $paths  The PSR-0 base directories
     273     * @param string              $prefix The prefix
     274     * @param list<string>|string $paths  The PSR-0 base directories
    277275     *
    278276     * @return void
     
    291289     * replacing any others previously set for this namespace.
    292290     *
    293      * @param string          $prefix The prefix/namespace, with trailing '\\'
    294      * @param string[]|string $paths  The PSR-4 base directories
     291     * @param string              $prefix The prefix/namespace, with trailing '\\'
     292     * @param list<string>|string $paths  The PSR-4 base directories
    295293     *
    296294     * @throws \InvalidArgumentException
     
    426424    {
    427425        if ($file = $this->findFile($class)) {
    428             includeFile($file);
     426            $includeFile = self::$includeFile;
     427            $includeFile($file);
    429428
    430429            return true;
     
    477476
    478477    /**
    479      * Returns the currently registered loaders indexed by their corresponding vendor directories.
    480      *
    481      * @return self[]
     478     * Returns the currently registered loaders keyed by their corresponding vendor directories.
     479     *
     480     * @return array<string, self>
    482481     */
    483482    public static function getRegisteredLoaders()
     
    556555        return false;
    557556    }
     557
     558    /**
     559     * @return void
     560     */
     561    private static function initializeIncludeClosure()
     562    {
     563        if (self::$includeFile !== null) {
     564            return;
     565        }
     566
     567        /**
     568         * Scope isolated include.
     569         *
     570         * Prevents access to $this/self from included files.
     571         *
     572         * @param  string $file
     573         * @return void
     574         */
     575        self::$includeFile = \Closure::bind(static function($file) {
     576            include $file;
     577        }, null, null);
     578    }
    558579}
    559 
    560 /**
    561  * Scope isolated include.
    562  *
    563  * Prevents access to $this/self from included files.
    564  *
    565  * @param  string $file
    566  * @return void
    567  * @private
    568  */
    569 function includeFile($file)
    570 {
    571     include $file;
    572 }
  • majestic-before-after-image/trunk/vendor/composer/InstalledVersions.php

    r3103573 r3198122  
    2222 *
    2323 * To require its presence, you can require `composer-runtime-api ^2.0`
     24 *
     25 * @final
    2426 */
    2527class InstalledVersions
     
    2729    /**
    2830     * @var mixed[]|null
    29      * @psalm-var array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}|array{}|null
     31     * @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
    3032     */
    3133    private static $installed;
     
    3840    /**
    3941     * @var array[]
    40      * @psalm-var array<string, array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
     42     * @psalm-var array<string, 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[]}>}>
    4143     */
    4244    private static $installedByVendor = array();
     
    9799        foreach (self::getInstalled() as $installed) {
    98100            if (isset($installed['versions'][$packageName])) {
    99                 return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
     101                return $includeDevRequirements || !isset($installed['versions'][$packageName]['dev_requirement']) || $installed['versions'][$packageName]['dev_requirement'] === false;
    100102            }
    101103        }
     
    118120    public static function satisfies(VersionParser $parser, $packageName, $constraint)
    119121    {
    120         $constraint = $parser->parseConstraints($constraint);
     122        $constraint = $parser->parseConstraints((string) $constraint);
    121123        $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
    122124
     
    242244    /**
    243245     * @return array
    244      * @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}
     246     * @psalm-return array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}
    245247     */
    246248    public static function getRootPackage()
     
    256258     * @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
    257259     * @return array[]
    258      * @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}
     260     * @psalm-return 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[]}>}
    259261     */
    260262    public static function getRawData()
     
    279281     *
    280282     * @return array[]
    281      * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
     283     * @psalm-return list<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[]}>}>
    282284     */
    283285    public static function getAllRawData()
     
    302304     * @return void
    303305     *
    304      * @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>} $data
     306     * @psalm-param 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[]}>} $data
    305307     */
    306308    public static function reload($data)
     
    312314    /**
    313315     * @return array[]
    314      * @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
     316     * @psalm-return list<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[]}>}>
    315317     */
    316318    private static function getInstalled()
  • majestic-before-after-image/trunk/vendor/composer/autoload_classmap.php

    r2946534 r3198122  
    33// autoload_classmap.php @generated by Composer
    44
    5 $vendorDir = dirname(dirname(__FILE__));
     5$vendorDir = dirname(__DIR__);
    66$baseDir = dirname($vendorDir);
    77
  • majestic-before-after-image/trunk/vendor/composer/autoload_namespaces.php

    r2946534 r3198122  
    33// autoload_namespaces.php @generated by Composer
    44
    5 $vendorDir = dirname(dirname(__FILE__));
     5$vendorDir = dirname(__DIR__);
    66$baseDir = dirname($vendorDir);
    77
  • majestic-before-after-image/trunk/vendor/composer/autoload_psr4.php

    r2946534 r3198122  
    33// autoload_psr4.php @generated by Composer
    44
    5 $vendorDir = dirname(dirname(__FILE__));
     5$vendorDir = dirname(__DIR__);
    66$baseDir = dirname($vendorDir);
    77
  • majestic-before-after-image/trunk/vendor/composer/autoload_real.php

    r3128723 r3198122  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInitff26b1144b87da9e63a4bf6732c9e02c
     5class ComposerAutoloaderInit4c63a3cc7a8b5e306214cf95ff8fbdce
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInitff26b1144b87da9e63a4bf6732c9e02c', 'loadClassLoader'), true, true);
    28         self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
    29         spl_autoload_unregister(array('ComposerAutoloaderInitff26b1144b87da9e63a4bf6732c9e02c', 'loadClassLoader'));
     27        spl_autoload_register(array('ComposerAutoloaderInit4c63a3cc7a8b5e306214cf95ff8fbdce', 'loadClassLoader'), true, true);
     28        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit4c63a3cc7a8b5e306214cf95ff8fbdce', 'loadClassLoader'));
    3030
    31         $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
    32         if ($useStaticLoader) {
    33             require __DIR__ . '/autoload_static.php';
    34 
    35             call_user_func(\Composer\Autoload\ComposerStaticInitff26b1144b87da9e63a4bf6732c9e02c::getInitializer($loader));
    36         } else {
    37             $map = require __DIR__ . '/autoload_namespaces.php';
    38             foreach ($map as $namespace => $path) {
    39                 $loader->set($namespace, $path);
    40             }
    41 
    42             $map = require __DIR__ . '/autoload_psr4.php';
    43             foreach ($map as $namespace => $path) {
    44                 $loader->setPsr4($namespace, $path);
    45             }
    46 
    47             $classMap = require __DIR__ . '/autoload_classmap.php';
    48             if ($classMap) {
    49                 $loader->addClassMap($classMap);
    50             }
    51         }
     31        require __DIR__ . '/autoload_static.php';
     32        call_user_func(\Composer\Autoload\ComposerStaticInit4c63a3cc7a8b5e306214cf95ff8fbdce::getInitializer($loader));
    5233
    5334        $loader->register(true);
  • majestic-before-after-image/trunk/vendor/composer/autoload_static.php

    r3128723 r3198122  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInitff26b1144b87da9e63a4bf6732c9e02c
     7class ComposerStaticInit4c63a3cc7a8b5e306214cf95ff8fbdce
    88{
    99    public static $prefixLengthsPsr4 = array (
     
    2929    {
    3030        return \Closure::bind(function () use ($loader) {
    31             $loader->prefixLengthsPsr4 = ComposerStaticInitff26b1144b87da9e63a4bf6732c9e02c::$prefixLengthsPsr4;
    32             $loader->prefixDirsPsr4 = ComposerStaticInitff26b1144b87da9e63a4bf6732c9e02c::$prefixDirsPsr4;
    33             $loader->classMap = ComposerStaticInitff26b1144b87da9e63a4bf6732c9e02c::$classMap;
     31            $loader->prefixLengthsPsr4 = ComposerStaticInit4c63a3cc7a8b5e306214cf95ff8fbdce::$prefixLengthsPsr4;
     32            $loader->prefixDirsPsr4 = ComposerStaticInit4c63a3cc7a8b5e306214cf95ff8fbdce::$prefixDirsPsr4;
     33            $loader->classMap = ComposerStaticInit4c63a3cc7a8b5e306214cf95ff8fbdce::$classMap;
    3434
    3535        }, null, ClassLoader::class);
  • majestic-before-after-image/trunk/vendor/composer/installed.json

    r3128723 r3198122  
    33        {
    44            "name": "ernilambar/wp-admin-notice",
    5             "version": "2.0.0",
    6             "version_normalized": "2.0.0.0",
     5            "version": "2.0.1",
     6            "version_normalized": "2.0.1.0",
    77            "source": {
    88                "type": "git",
    99                "url": "https://github.com/ernilambar/wp-admin-notice.git",
    10                 "reference": "ef71e83f6e82d3224783756426ddb209991e30cb"
     10                "reference": "1649810056fe4072ab470973c61c33182ae7c4aa"
    1111            },
    1212            "dist": {
    1313                "type": "zip",
    14                 "url": "https://api.github.com/repos/ernilambar/wp-admin-notice/zipball/ef71e83f6e82d3224783756426ddb209991e30cb",
    15                 "reference": "ef71e83f6e82d3224783756426ddb209991e30cb",
     14                "url": "https://api.github.com/repos/ernilambar/wp-admin-notice/zipball/1649810056fe4072ab470973c61c33182ae7c4aa",
     15                "reference": "1649810056fe4072ab470973c61c33182ae7c4aa",
    1616                "shasum": ""
    1717            },
     
    2626                "wp-coding-standards/wpcs": "^3.1"
    2727            },
    28             "time": "2024-07-26T10:24:55+00:00",
     28            "time": "2024-08-02T09:51:55+00:00",
    2929            "type": "library",
    3030            "installation-source": "dist",
     
    5454            "support": {
    5555                "issues": "https://github.com/ernilambar/wp-admin-notice/issues/",
    56                 "source": "https://github.com/ernilambar/wp-admin-notice/tree/2.0.0"
     56                "source": "https://github.com/ernilambar/wp-admin-notice/tree/2.0.1"
    5757            },
    5858            "install-path": "../ernilambar/wp-admin-notice"
  • majestic-before-after-image/trunk/vendor/composer/installed.php

    r3128723 r3198122  
    11<?php return array(
    22    'root' => array(
     3        'name' => 'maneshtimilsina/majestic-before-after-image',
    34        'pretty_version' => 'dev-main',
    45        'version' => 'dev-main',
     6        'reference' => '6378b2155dfdd5a895326980913d17c050744955',
    57        'type' => 'library',
    68        'install_path' => __DIR__ . '/../../',
    79        'aliases' => array(),
    8         'reference' => '82ed68bfa4864a2d434c3e9cbd5d5e304e9530c1',
    9         'name' => 'maneshtimilsina/majestic-before-after-image',
    1010        'dev' => false,
    1111    ),
    1212    'versions' => array(
    1313        'ernilambar/wp-admin-notice' => array(
    14             'pretty_version' => '2.0.0',
    15             'version' => '2.0.0.0',
     14            'pretty_version' => '2.0.1',
     15            'version' => '2.0.1.0',
     16            'reference' => '1649810056fe4072ab470973c61c33182ae7c4aa',
    1617            'type' => 'library',
    1718            'install_path' => __DIR__ . '/../ernilambar/wp-admin-notice',
    1819            'aliases' => array(),
    19             'reference' => 'ef71e83f6e82d3224783756426ddb209991e30cb',
    2020            'dev_requirement' => false,
    2121        ),
     
    2323            'pretty_version' => '2.0.2',
    2424            'version' => '2.0.2.0',
     25            'reference' => '18e12741f799f60875e13fee454ee037694472e7',
    2526            'type' => 'library',
    2627            'install_path' => __DIR__ . '/../ernilambar/wp-welcome',
    2728            'aliases' => array(),
    28             'reference' => '18e12741f799f60875e13fee454ee037694472e7',
    2929            'dev_requirement' => false,
    3030        ),
     
    3232            'pretty_version' => 'dev-main',
    3333            'version' => 'dev-main',
     34            'reference' => '6378b2155dfdd5a895326980913d17c050744955',
    3435            'type' => 'library',
    3536            'install_path' => __DIR__ . '/../../',
    3637            'aliases' => array(),
    37             'reference' => '82ed68bfa4864a2d434c3e9cbd5d5e304e9530c1',
    3838            'dev_requirement' => false,
    3939        ),
  • majestic-before-after-image/trunk/vendor/ernilambar/wp-admin-notice/composer.json

    r3128723 r3198122  
    4747  },
    4848  "scripts": {
     49    "format": "@php ./vendor/bin/phpcbf --report-full --report-summary",
    4950    "lint": [
    5051      "@lint-php",
     
    5253    ],
    5354    "lint-php": "@php ./vendor/bin/parallel-lint --colors --exclude .git --exclude vendor .",
    54     "phpcbf": "@php ./vendor/bin/phpcbf --report-full --report-summary .",
    55     "phpcs": "@php ./vendor/bin/phpcs --report-full --report-summary ."
     55    "phpcs": "@php ./vendor/bin/phpcs --report-full --report-summary"
    5656  }
    5757}
Note: See TracChangeset for help on using the changeset viewer.