Make WordPress Core

Ticket #36335: 36335.8.diff

File 36335.8.diff, 137.3 KB (added by wonderboymusic, 8 years ago)
  • composer.json

     
     1{
     2        "name": "wordpress/wordpress",
     3        "description": "WordPress is web software you can use to create a beautiful website or blog.",
     4        "keywords": [
     5                "blog",
     6                "cms"
     7        ],
     8        "type": "wordpress-core",
     9        "homepage": "https://wordpress.org/",
     10        "license": "GPL-2.0+",
     11        "authors": [
     12                {
     13                        "name": "WordPress Community",
     14                        "homepage": "https://wordpress.org/about/"
     15                }
     16        ],
     17        "support": {
     18                "issues": "https://core.trac.wordpress.org/",
     19                "forum": "https://wordpress.org/support/",
     20                "wiki": "https://codex.wordpress.org/",
     21                "irc": "irc://irc.freenode.net/wordpress",
     22                "source": "https://core.trac.wordpress.org/browser"
     23        },
     24        "require": {
     25                "xrstf/composer-php52": "1.*"
     26        },
     27        "scripts": {
     28                "post-install-cmd": [
     29                        "xrstf\\Composer52\\Generator::onPostInstallCmd"
     30                ],
     31                "post-update-cmd": [
     32                        "xrstf\\Composer52\\Generator::onPostInstallCmd"
     33                ],
     34                "post-autoload-dump": [
     35                        "xrstf\\Composer52\\Generator::onPostInstallCmd"
     36                ]
     37        },
     38        "autoload": {
     39                "classmap": [
     40                        "src/wp-includes/",
     41                        "src/wp-admin/"
     42                ],
     43                "files": [
     44                        "src/wp-includes/load.php",
     45                        "src/wp-includes/default-constants.php",
     46                        "src/wp-includes/plugin.php",
     47                        "src/wp-includes/functions.php",
     48                        "src/wp-includes/default-filters.php",
     49                        "src/wp-includes/formatting.php",
     50                        "src/wp-includes/capabilities.php",
     51                        "src/wp-includes/query.php",
     52                        "src/wp-includes/theme.php",
     53                        "src/wp-includes/template.php",
     54                        "src/wp-includes/user.php",
     55                        "src/wp-includes/meta.php",
     56                        "src/wp-includes/general-template.php",
     57                        "src/wp-includes/link-template.php",
     58                        "src/wp-includes/author-template.php",
     59                        "src/wp-includes/post.php",
     60                        "src/wp-includes/post-template.php",
     61                        "src/wp-includes/revision.php",
     62                        "src/wp-includes/post-formats.php",
     63                        "src/wp-includes/post-thumbnail-template.php",
     64                        "src/wp-includes/category.php",
     65                        "src/wp-includes/category-template.php",
     66                        "src/wp-includes/comment.php",
     67                        "src/wp-includes/comment-template.php",
     68                        "src/wp-includes/rewrite.php",
     69                        "src/wp-includes/feed.php",
     70                        "src/wp-includes/bookmark.php",
     71                        "src/wp-includes/bookmark-template.php",
     72                        "src/wp-includes/kses.php",
     73                        "src/wp-includes/cron.php",
     74                        "src/wp-includes/deprecated.php",
     75                        "src/wp-includes/script-loader.php",
     76                        "src/wp-includes/taxonomy.php",
     77                        "src/wp-includes/update.php",
     78                        "src/wp-includes/canonical.php",
     79                        "src/wp-includes/shortcodes.php",
     80                        "src/wp-includes/embed.php",
     81                        "src/wp-includes/media.php",
     82                        "src/wp-includes/http.php",
     83                        "src/wp-includes/class-http.php",
     84                        "src/wp-includes/widgets.php",
     85                        "src/wp-includes/nav-menu.php",
     86                        "src/wp-includes/nav-menu-template.php",
     87                        "src/wp-includes/admin-bar.php",
     88                        "src/wp-includes/rest-api.php",
     89                        "src/wp-includes/l10n.php"
     90                ]
     91        },
     92        "config": {
     93                "vendor-dir": "src/vendor"
     94        }
     95}
     96 No newline at end of file
  • src/vendor/autoload.php

     
     1<?php
     2
     3// autoload.php @generated by Composer
     4
     5require_once __DIR__ . '/composer' . '/autoload_real.php';
     6
     7return ComposerAutoloaderInit5f802e6773748e86f907e3d9bc7d98de::getLoader();
  • src/vendor/autoload_52.php

     
     1<?php
     2
     3// autoload_52.php generated by xrstf/composer-php52
     4
     5require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
     6
     7return ComposerAutoloaderInitf2472e000a93345545886641ae7538d6::getLoader();
  • src/vendor/composer/ClassLoader.php

     
     1<?php
     2
     3/*
     4 * This file is part of Composer.
     5 *
     6 * (c) Nils Adermann <naderman@naderman.de>
     7 *     Jordi Boggiano <j.boggiano@seld.be>
     8 *
     9 * For the full copyright and license information, please view the LICENSE
     10 * file that was distributed with this source code.
     11 */
     12
     13namespace Composer\Autoload;
     14
     15/**
     16 * ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
     17 *
     18 *     $loader = new \Composer\Autoload\ClassLoader();
     19 *
     20 *     // register classes with namespaces
     21 *     $loader->add('Symfony\Component', __DIR__.'/component');
     22 *     $loader->add('Symfony',           __DIR__.'/framework');
     23 *
     24 *     // activate the autoloader
     25 *     $loader->register();
     26 *
     27 *     // to enable searching the include path (eg. for PEAR packages)
     28 *     $loader->setUseIncludePath(true);
     29 *
     30 * In this example, if you try to use a class in the Symfony\Component
     31 * namespace or one of its children (Symfony\Component\Console for instance),
     32 * the autoloader will first look for the class under the component/
     33 * directory, and it will then fallback to the framework/ directory if not
     34 * found before giving up.
     35 *
     36 * This class is loosely based on the Symfony UniversalClassLoader.
     37 *
     38 * @author Fabien Potencier <fabien@symfony.com>
     39 * @author Jordi Boggiano <j.boggiano@seld.be>
     40 * @see    http://www.php-fig.org/psr/psr-0/
     41 * @see    http://www.php-fig.org/psr/psr-4/
     42 */
     43class ClassLoader
     44{
     45    // PSR-4
     46    private $prefixLengthsPsr4 = array();
     47    private $prefixDirsPsr4 = array();
     48    private $fallbackDirsPsr4 = array();
     49
     50    // PSR-0
     51    private $prefixesPsr0 = array();
     52    private $fallbackDirsPsr0 = array();
     53
     54    private $useIncludePath = false;
     55    private $classMap = array();
     56
     57    private $classMapAuthoritative = false;
     58
     59    public function getPrefixes()
     60    {
     61        if (!empty($this->prefixesPsr0)) {
     62            return call_user_func_array('array_merge', $this->prefixesPsr0);
     63        }
     64
     65        return array();
     66    }
     67
     68    public function getPrefixesPsr4()
     69    {
     70        return $this->prefixDirsPsr4;
     71    }
     72
     73    public function getFallbackDirs()
     74    {
     75        return $this->fallbackDirsPsr0;
     76    }
     77
     78    public function getFallbackDirsPsr4()
     79    {
     80        return $this->fallbackDirsPsr4;
     81    }
     82
     83    public function getClassMap()
     84    {
     85        return $this->classMap;
     86    }
     87
     88    /**
     89     * @param array $classMap Class to filename map
     90     */
     91    public function addClassMap(array $classMap)
     92    {
     93        if ($this->classMap) {
     94            $this->classMap = array_merge($this->classMap, $classMap);
     95        } else {
     96            $this->classMap = $classMap;
     97        }
     98    }
     99
     100    /**
     101     * Registers a set of PSR-0 directories for a given prefix, either
     102     * appending or prepending to the ones previously set for this prefix.
     103     *
     104     * @param string       $prefix  The prefix
     105     * @param array|string $paths   The PSR-0 root directories
     106     * @param bool         $prepend Whether to prepend the directories
     107     */
     108    public function add($prefix, $paths, $prepend = false)
     109    {
     110        if (!$prefix) {
     111            if ($prepend) {
     112                $this->fallbackDirsPsr0 = array_merge(
     113                    (array) $paths,
     114                    $this->fallbackDirsPsr0
     115                );
     116            } else {
     117                $this->fallbackDirsPsr0 = array_merge(
     118                    $this->fallbackDirsPsr0,
     119                    (array) $paths
     120                );
     121            }
     122
     123            return;
     124        }
     125
     126        $first = $prefix[0];
     127        if (!isset($this->prefixesPsr0[$first][$prefix])) {
     128            $this->prefixesPsr0[$first][$prefix] = (array) $paths;
     129
     130            return;
     131        }
     132        if ($prepend) {
     133            $this->prefixesPsr0[$first][$prefix] = array_merge(
     134                (array) $paths,
     135                $this->prefixesPsr0[$first][$prefix]
     136            );
     137        } else {
     138            $this->prefixesPsr0[$first][$prefix] = array_merge(
     139                $this->prefixesPsr0[$first][$prefix],
     140                (array) $paths
     141            );
     142        }
     143    }
     144
     145    /**
     146     * Registers a set of PSR-4 directories for a given namespace, either
     147     * appending or prepending to the ones previously set for this namespace.
     148     *
     149     * @param string       $prefix  The prefix/namespace, with trailing '\\'
     150     * @param array|string $paths   The PSR-4 base directories
     151     * @param bool         $prepend Whether to prepend the directories
     152     *
     153     * @throws \InvalidArgumentException
     154     */
     155    public function addPsr4($prefix, $paths, $prepend = false)
     156    {
     157        if (!$prefix) {
     158            // Register directories for the root namespace.
     159            if ($prepend) {
     160                $this->fallbackDirsPsr4 = array_merge(
     161                    (array) $paths,
     162                    $this->fallbackDirsPsr4
     163                );
     164            } else {
     165                $this->fallbackDirsPsr4 = array_merge(
     166                    $this->fallbackDirsPsr4,
     167                    (array) $paths
     168                );
     169            }
     170        } elseif (!isset($this->prefixDirsPsr4[$prefix])) {
     171            // Register directories for a new namespace.
     172            $length = strlen($prefix);
     173            if ('\\' !== $prefix[$length - 1]) {
     174                throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
     175            }
     176            $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
     177            $this->prefixDirsPsr4[$prefix] = (array) $paths;
     178        } elseif ($prepend) {
     179            // Prepend directories for an already registered namespace.
     180            $this->prefixDirsPsr4[$prefix] = array_merge(
     181                (array) $paths,
     182                $this->prefixDirsPsr4[$prefix]
     183            );
     184        } else {
     185            // Append directories for an already registered namespace.
     186            $this->prefixDirsPsr4[$prefix] = array_merge(
     187                $this->prefixDirsPsr4[$prefix],
     188                (array) $paths
     189            );
     190        }
     191    }
     192
     193    /**
     194     * Registers a set of PSR-0 directories for a given prefix,
     195     * replacing any others previously set for this prefix.
     196     *
     197     * @param string       $prefix The prefix
     198     * @param array|string $paths  The PSR-0 base directories
     199     */
     200    public function set($prefix, $paths)
     201    {
     202        if (!$prefix) {
     203            $this->fallbackDirsPsr0 = (array) $paths;
     204        } else {
     205            $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
     206        }
     207    }
     208
     209    /**
     210     * Registers a set of PSR-4 directories for a given namespace,
     211     * replacing any others previously set for this namespace.
     212     *
     213     * @param string       $prefix The prefix/namespace, with trailing '\\'
     214     * @param array|string $paths  The PSR-4 base directories
     215     *
     216     * @throws \InvalidArgumentException
     217     */
     218    public function setPsr4($prefix, $paths)
     219    {
     220        if (!$prefix) {
     221            $this->fallbackDirsPsr4 = (array) $paths;
     222        } else {
     223            $length = strlen($prefix);
     224            if ('\\' !== $prefix[$length - 1]) {
     225                throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
     226            }
     227            $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
     228            $this->prefixDirsPsr4[$prefix] = (array) $paths;
     229        }
     230    }
     231
     232    /**
     233     * Turns on searching the include path for class files.
     234     *
     235     * @param bool $useIncludePath
     236     */
     237    public function setUseIncludePath($useIncludePath)
     238    {
     239        $this->useIncludePath = $useIncludePath;
     240    }
     241
     242    /**
     243     * Can be used to check if the autoloader uses the include path to check
     244     * for classes.
     245     *
     246     * @return bool
     247     */
     248    public function getUseIncludePath()
     249    {
     250        return $this->useIncludePath;
     251    }
     252
     253    /**
     254     * Turns off searching the prefix and fallback directories for classes
     255     * that have not been registered with the class map.
     256     *
     257     * @param bool $classMapAuthoritative
     258     */
     259    public function setClassMapAuthoritative($classMapAuthoritative)
     260    {
     261        $this->classMapAuthoritative = $classMapAuthoritative;
     262    }
     263
     264    /**
     265     * Should class lookup fail if not found in the current class map?
     266     *
     267     * @return bool
     268     */
     269    public function isClassMapAuthoritative()
     270    {
     271        return $this->classMapAuthoritative;
     272    }
     273
     274    /**
     275     * Registers this instance as an autoloader.
     276     *
     277     * @param bool $prepend Whether to prepend the autoloader or not
     278     */
     279    public function register($prepend = false)
     280    {
     281        spl_autoload_register(array($this, 'loadClass'), true, $prepend);
     282    }
     283
     284    /**
     285     * Unregisters this instance as an autoloader.
     286     */
     287    public function unregister()
     288    {
     289        spl_autoload_unregister(array($this, 'loadClass'));
     290    }
     291
     292    /**
     293     * Loads the given class or interface.
     294     *
     295     * @param  string    $class The name of the class
     296     * @return bool|null True if loaded, null otherwise
     297     */
     298    public function loadClass($class)
     299    {
     300        if ($file = $this->findFile($class)) {
     301            includeFile($file);
     302
     303            return true;
     304        }
     305    }
     306
     307    /**
     308     * Finds the path to the file where the class is defined.
     309     *
     310     * @param string $class The name of the class
     311     *
     312     * @return string|false The path if found, false otherwise
     313     */
     314    public function findFile($class)
     315    {
     316        // work around for PHP 5.3.0 - 5.3.2 https://bugs.php.net/50731
     317        if ('\\' == $class[0]) {
     318            $class = substr($class, 1);
     319        }
     320
     321        // class map lookup
     322        if (isset($this->classMap[$class])) {
     323            return $this->classMap[$class];
     324        }
     325        if ($this->classMapAuthoritative) {
     326            return false;
     327        }
     328
     329        $file = $this->findFileWithExtension($class, '.php');
     330
     331        // Search for Hack files if we are running on HHVM
     332        if ($file === null && defined('HHVM_VERSION')) {
     333            $file = $this->findFileWithExtension($class, '.hh');
     334        }
     335
     336        if ($file === null) {
     337            // Remember that this class does not exist.
     338            return $this->classMap[$class] = false;
     339        }
     340
     341        return $file;
     342    }
     343
     344    private function findFileWithExtension($class, $ext)
     345    {
     346        // PSR-4 lookup
     347        $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
     348
     349        $first = $class[0];
     350        if (isset($this->prefixLengthsPsr4[$first])) {
     351            foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) {
     352                if (0 === strpos($class, $prefix)) {
     353                    foreach ($this->prefixDirsPsr4[$prefix] as $dir) {
     354                        if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
     355                            return $file;
     356                        }
     357                    }
     358                }
     359            }
     360        }
     361
     362        // PSR-4 fallback dirs
     363        foreach ($this->fallbackDirsPsr4 as $dir) {
     364            if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
     365                return $file;
     366            }
     367        }
     368
     369        // PSR-0 lookup
     370        if (false !== $pos = strrpos($class, '\\')) {
     371            // namespaced class name
     372            $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
     373                . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
     374        } else {
     375            // PEAR-like class name
     376            $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
     377        }
     378
     379        if (isset($this->prefixesPsr0[$first])) {
     380            foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
     381                if (0 === strpos($class, $prefix)) {
     382                    foreach ($dirs as $dir) {
     383                        if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
     384                            return $file;
     385                        }
     386                    }
     387                }
     388            }
     389        }
     390
     391        // PSR-0 fallback dirs
     392        foreach ($this->fallbackDirsPsr0 as $dir) {
     393            if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
     394                return $file;
     395            }
     396        }
     397
     398        // PSR-0 include paths.
     399        if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
     400            return $file;
     401        }
     402    }
     403}
     404
     405/**
     406 * Scope isolated include.
     407 *
     408 * Prevents access to $this/self from included files.
     409 */
     410function includeFile($file)
     411{
     412    include $file;
     413}
  • src/vendor/composer/ClassLoader52.php

     
     1<?php
     2/*
     3 * Copyright (c) 2013, Christoph Mewes, http://www.xrstf.de
     4 *
     5 * This file is released under the terms of the MIT license. You can find the
     6 * complete text in the attached LICENSE file or online at:
     7 *
     8 * http://www.opensource.org/licenses/mit-license.php
     9 *
     10 * --------------------------------------------------------------------------
     11 *
     12 * 99% of this is copied as-is from the original Composer source code and is
     13 * released under MIT license as well. Copyright goes to:
     14 *
     15 * - Fabien Potencier <fabien@symfony.com>
     16 * - Jordi Boggiano <j.boggiano@seld.be>
     17 */
     18
     19class xrstf_Composer52_ClassLoader {
     20        private $prefixes              = array();
     21        private $fallbackDirs          = array();
     22        private $useIncludePath        = false;
     23        private $classMap              = array();
     24        private $classMapAuthoratative = false;
     25        private $allowUnderscore       = false;
     26
     27        /**
     28         * @param boolean $flag  true to allow class names with a leading underscore, false to disable
     29         */
     30        public function setAllowUnderscore($flag) {
     31                $this->allowUnderscore = (boolean) $flag;
     32        }
     33
     34        /**
     35         * @return array
     36         */
     37        public function getPrefixes() {
     38                return $this->prefixes;
     39        }
     40
     41        /**
     42         * Turns off searching the prefix and fallback directories for classes
     43         * that have not been registered with the class map.
     44         *
     45         * @param bool $classMapAuthoratative
     46         */
     47        public function setClassMapAuthoritative($classMapAuthoratative) {
     48                $this->classMapAuthoratative = $classMapAuthoratative;
     49        }
     50
     51        /**
     52         * Should class lookup fail if not found in the current class map?
     53         *
     54         * @return bool
     55         */
     56        public function getClassMapAuthoratative() {
     57                return $this->classMapAuthoratative;
     58        }
     59
     60        /**
     61         * @return array
     62         */
     63        public function getFallbackDirs() {
     64                return $this->fallbackDirs;
     65        }
     66
     67        /**
     68         * @return array
     69         */
     70        public function getClassMap() {
     71                return $this->classMap;
     72        }
     73
     74        /**
     75         * @param array $classMap  class to filename map
     76         */
     77        public function addClassMap(array $classMap) {
     78                if ($this->classMap) {
     79                        $this->classMap = array_merge($this->classMap, $classMap);
     80                }
     81                else {
     82                        $this->classMap = $classMap;
     83                }
     84        }
     85
     86        /**
     87         * Registers a set of classes, merging with any others previously set.
     88         *
     89         * @param string       $prefix   the classes prefix
     90         * @param array|string $paths    the location(s) of the classes
     91         * @param bool         $prepend  prepend the location(s)
     92         */
     93        public function add($prefix, $paths, $prepend = false) {
     94                if (!$prefix) {
     95                        if ($prepend) {
     96                                $this->fallbackDirs = array_merge(
     97                                        (array) $paths,
     98                                        $this->fallbackDirs
     99                                );
     100                        }
     101                        else {
     102                                $this->fallbackDirs = array_merge(
     103                                        $this->fallbackDirs,
     104                                        (array) $paths
     105                                );
     106                        }
     107
     108                        return;
     109                }
     110
     111                if (!isset($this->prefixes[$prefix])) {
     112                        $this->prefixes[$prefix] = (array) $paths;
     113                        return;
     114                }
     115
     116                if ($prepend) {
     117                        $this->prefixes[$prefix] = array_merge(
     118                                (array) $paths,
     119                                $this->prefixes[$prefix]
     120                        );
     121                }
     122                else {
     123                        $this->prefixes[$prefix] = array_merge(
     124                                $this->prefixes[$prefix],
     125                                (array) $paths
     126                        );
     127                }
     128        }
     129
     130        /**
     131         * Registers a set of classes, replacing any others previously set.
     132         *
     133         * @param string       $prefix  the classes prefix
     134         * @param array|string $paths   the location(s) of the classes
     135         */
     136        public function set($prefix, $paths) {
     137                if (!$prefix) {
     138                        $this->fallbackDirs = (array) $paths;
     139                        return;
     140                }
     141
     142                $this->prefixes[$prefix] = (array) $paths;
     143        }
     144
     145        /**
     146         * Turns on searching the include path for class files.
     147         *
     148         * @param bool $useIncludePath
     149         */
     150        public function setUseIncludePath($useIncludePath) {
     151                $this->useIncludePath = $useIncludePath;
     152        }
     153
     154        /**
     155         * Can be used to check if the autoloader uses the include path to check
     156         * for classes.
     157         *
     158         * @return bool
     159         */
     160        public function getUseIncludePath() {
     161                return $this->useIncludePath;
     162        }
     163
     164        /**
     165         * Registers this instance as an autoloader.
     166         */
     167        public function register() {
     168                spl_autoload_register(array($this, 'loadClass'), true);
     169        }
     170
     171        /**
     172         * Unregisters this instance as an autoloader.
     173         */
     174        public function unregister() {
     175                spl_autoload_unregister(array($this, 'loadClass'));
     176        }
     177
     178        /**
     179         * Loads the given class or interface.
     180         *
     181         * @param  string $class  the name of the class
     182         * @return bool|null      true, if loaded
     183         */
     184        public function loadClass($class) {
     185                if ($file = $this->findFile($class)) {
     186                        include $file;
     187                        return true;
     188                }
     189        }
     190
     191        /**
     192         * Finds the path to the file where the class is defined.
     193         *
     194         * @param  string $class  the name of the class
     195         * @return string|null    the path, if found
     196         */
     197        public function findFile($class) {
     198                if ('\\' === $class[0]) {
     199                        $class = substr($class, 1);
     200                }
     201
     202                if (isset($this->classMap[$class])) {
     203                        return $this->classMap[$class];
     204                }
     205                elseif ($this->classMapAuthoratative) {
     206                        return false;
     207                }
     208
     209                $classPath = $this->getClassPath($class);
     210
     211                foreach ($this->prefixes as $prefix => $dirs) {
     212                        if (0 === strpos($class, $prefix)) {
     213                                foreach ($dirs as $dir) {
     214                                        if (file_exists($dir.DIRECTORY_SEPARATOR.$classPath)) {
     215                                                return $dir.DIRECTORY_SEPARATOR.$classPath;
     216                                        }
     217                                }
     218                        }
     219                }
     220
     221                foreach ($this->fallbackDirs as $dir) {
     222                        if (file_exists($dir.DIRECTORY_SEPARATOR.$classPath)) {
     223                                return $dir.DIRECTORY_SEPARATOR.$classPath;
     224                        }
     225                }
     226
     227                if ($this->useIncludePath && $file = self::resolveIncludePath($classPath)) {
     228                        return $file;
     229                }
     230
     231                return $this->classMap[$class] = false;
     232        }
     233
     234        private function getClassPath($class) {
     235                if (false !== $pos = strrpos($class, '\\')) {
     236                        // namespaced class name
     237                        $classPath = str_replace('\\', DIRECTORY_SEPARATOR, substr($class, 0, $pos)).DIRECTORY_SEPARATOR;
     238                        $className = substr($class, $pos + 1);
     239                }
     240                else {
     241                        // PEAR-like class name
     242                        $classPath = null;
     243                        $className = $class;
     244                }
     245
     246                $className = str_replace('_', DIRECTORY_SEPARATOR, $className);
     247
     248                // restore the prefix
     249                if ($this->allowUnderscore && DIRECTORY_SEPARATOR === $className[0]) {
     250                        $className[0] = '_';
     251                }
     252
     253                $classPath .= $className.'.php';
     254
     255                return $classPath;
     256        }
     257
     258        public static function resolveIncludePath($classPath) {
     259                $paths = explode(PATH_SEPARATOR, get_include_path());
     260
     261                foreach ($paths as $path) {
     262                        $path = rtrim($path, '/\\');
     263
     264                        if ($file = file_exists($path.DIRECTORY_SEPARATOR.$file)) {
     265                                return $file;
     266                        }
     267                }
     268
     269                return false;
     270        }
     271}
  • src/vendor/composer/LICENSE

     
     1
     2Copyright (c) 2016 Nils Adermann, Jordi Boggiano
     3
     4Permission is hereby granted, free of charge, to any person obtaining a copy
     5of this software and associated documentation files (the "Software"), to deal
     6in the Software without restriction, including without limitation the rights
     7to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
     8copies of the Software, and to permit persons to whom the Software is furnished
     9to do so, subject to the following conditions:
     10
     11The above copyright notice and this permission notice shall be included in all
     12copies or substantial portions of the Software.
     13
     14THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
     15IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
     16FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
     17AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
     18LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
     19OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
     20THE SOFTWARE.
     21
  • src/vendor/composer/autoload_classmap.php

     
     1<?php
     2
     3// autoload_classmap.php @generated by Composer
     4
     5$vendorDir = dirname(dirname(__FILE__));
     6$baseDir = dirname(dirname($vendorDir));
     7
     8return array(
     9    'AMFReader' => $baseDir . '/src/wp-includes/ID3/module.audio-video.flv.php',
     10    'AMFStream' => $baseDir . '/src/wp-includes/ID3/module.audio-video.flv.php',
     11    'AVCSequenceParameterSetReader' => $baseDir . '/src/wp-includes/ID3/module.audio-video.flv.php',
     12    'AtomEntry' => $baseDir . '/src/wp-includes/atomlib.php',
     13    'AtomFeed' => $baseDir . '/src/wp-includes/atomlib.php',
     14    'AtomParser' => $baseDir . '/src/wp-includes/atomlib.php',
     15    'Automatic_Upgrader_Skin' => $baseDir . '/src/wp-admin/includes/class-automatic-upgrader-skin.php',
     16    'Bulk_Plugin_Upgrader_Skin' => $baseDir . '/src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php',
     17    'Bulk_Theme_Upgrader_Skin' => $baseDir . '/src/wp-admin/includes/class-bulk-theme-upgrader-skin.php',
     18    'Bulk_Upgrader_Skin' => $baseDir . '/src/wp-admin/includes/class-bulk-upgrader-skin.php',
     19    'Core_Upgrader' => $baseDir . '/src/wp-admin/includes/class-core-upgrader.php',
     20    'Custom_Background' => $baseDir . '/src/wp-admin/custom-background.php',
     21    'Custom_Image_Header' => $baseDir . '/src/wp-admin/custom-header.php',
     22    'Error' => $baseDir . '/src/wp-includes/random_compat/error_polyfill.php',
     23    'File_Upload_Upgrader' => $baseDir . '/src/wp-admin/includes/class-file-upload-upgrader.php',
     24    'Gettext_Translations' => $baseDir . '/src/wp-includes/pomo/translations.php',
     25    'IXR_Base64' => $baseDir . '/src/wp-includes/class-IXR.php',
     26    'IXR_Client' => $baseDir . '/src/wp-includes/class-IXR.php',
     27    'IXR_ClientMulticall' => $baseDir . '/src/wp-includes/class-IXR.php',
     28    'IXR_Date' => $baseDir . '/src/wp-includes/class-IXR.php',
     29    'IXR_Error' => $baseDir . '/src/wp-includes/class-IXR.php',
     30    'IXR_IntrospectionServer' => $baseDir . '/src/wp-includes/class-IXR.php',
     31    'IXR_Message' => $baseDir . '/src/wp-includes/class-IXR.php',
     32    'IXR_Request' => $baseDir . '/src/wp-includes/class-IXR.php',
     33    'IXR_Server' => $baseDir . '/src/wp-includes/class-IXR.php',
     34    'IXR_Value' => $baseDir . '/src/wp-includes/class-IXR.php',
     35    'JsonSerializable' => $baseDir . '/src/wp-includes/compat.php',
     36    'Language_Pack_Upgrader' => $baseDir . '/src/wp-admin/includes/class-language-pack-upgrader.php',
     37    'Language_Pack_Upgrader_Skin' => $baseDir . '/src/wp-admin/includes/class-language-pack-upgrader-skin.php',
     38    'MO' => $baseDir . '/src/wp-includes/pomo/mo.php',
     39    'MagpieRSS' => $baseDir . '/src/wp-includes/rss.php',
     40    'NOOP_Translations' => $baseDir . '/src/wp-includes/pomo/translations.php',
     41    'PHPMailer' => $baseDir . '/src/wp-includes/class-phpmailer.php',
     42    'PO' => $baseDir . '/src/wp-includes/pomo/po.php',
     43    'POMO_CachedFileReader' => $baseDir . '/src/wp-includes/pomo/streams.php',
     44    'POMO_CachedIntFileReader' => $baseDir . '/src/wp-includes/pomo/streams.php',
     45    'POMO_FileReader' => $baseDir . '/src/wp-includes/pomo/streams.php',
     46    'POMO_Reader' => $baseDir . '/src/wp-includes/pomo/streams.php',
     47    'POMO_StringReader' => $baseDir . '/src/wp-includes/pomo/streams.php',
     48    'POP3' => $baseDir . '/src/wp-includes/class-pop3.php',
     49    'PasswordHash' => $baseDir . '/src/wp-includes/class-phpass.php',
     50    'PclZip' => $baseDir . '/src/wp-admin/includes/class-pclzip.php',
     51    'Plugin_Installer_Skin' => $baseDir . '/src/wp-admin/includes/class-plugin-installer-skin.php',
     52    'Plugin_Upgrader' => $baseDir . '/src/wp-admin/includes/class-plugin-upgrader.php',
     53    'Plugin_Upgrader_Skin' => $baseDir . '/src/wp-admin/includes/class-plugin-upgrader-skin.php',
     54    'RSSCache' => $baseDir . '/src/wp-includes/rss.php',
     55    'Requests' => $baseDir . '/src/wp-includes/class-requests.php',
     56    'Requests_Auth' => $baseDir . '/src/wp-includes/Requests/Auth.php',
     57    'Requests_Auth_Basic' => $baseDir . '/src/wp-includes/Requests/Auth/Basic.php',
     58    'Requests_Cookie' => $baseDir . '/src/wp-includes/Requests/Cookie.php',
     59    'Requests_Cookie_Jar' => $baseDir . '/src/wp-includes/Requests/Cookie/Jar.php',
     60    'Requests_Exception' => $baseDir . '/src/wp-includes/Requests/Exception.php',
     61    'Requests_Exception_HTTP' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP.php',
     62    'Requests_Exception_HTTP_304' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/304.php',
     63    'Requests_Exception_HTTP_305' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/305.php',
     64    'Requests_Exception_HTTP_306' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/306.php',
     65    'Requests_Exception_HTTP_400' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/400.php',
     66    'Requests_Exception_HTTP_401' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/401.php',
     67    'Requests_Exception_HTTP_402' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/402.php',
     68    'Requests_Exception_HTTP_403' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/403.php',
     69    'Requests_Exception_HTTP_404' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/404.php',
     70    'Requests_Exception_HTTP_405' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/405.php',
     71    'Requests_Exception_HTTP_406' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/406.php',
     72    'Requests_Exception_HTTP_407' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/407.php',
     73    'Requests_Exception_HTTP_408' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/408.php',
     74    'Requests_Exception_HTTP_409' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/409.php',
     75    'Requests_Exception_HTTP_410' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/410.php',
     76    'Requests_Exception_HTTP_411' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/411.php',
     77    'Requests_Exception_HTTP_412' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/412.php',
     78    'Requests_Exception_HTTP_413' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/413.php',
     79    'Requests_Exception_HTTP_414' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/414.php',
     80    'Requests_Exception_HTTP_415' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/415.php',
     81    'Requests_Exception_HTTP_416' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/416.php',
     82    'Requests_Exception_HTTP_417' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/417.php',
     83    'Requests_Exception_HTTP_418' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/418.php',
     84    'Requests_Exception_HTTP_428' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/428.php',
     85    'Requests_Exception_HTTP_429' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/429.php',
     86    'Requests_Exception_HTTP_431' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/431.php',
     87    'Requests_Exception_HTTP_500' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/500.php',
     88    'Requests_Exception_HTTP_501' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/501.php',
     89    'Requests_Exception_HTTP_502' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/502.php',
     90    'Requests_Exception_HTTP_503' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/503.php',
     91    'Requests_Exception_HTTP_504' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/504.php',
     92    'Requests_Exception_HTTP_505' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/505.php',
     93    'Requests_Exception_HTTP_511' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/511.php',
     94    'Requests_Exception_HTTP_Unknown' => $baseDir . '/src/wp-includes/Requests/Exception/HTTP/Unknown.php',
     95    'Requests_Exception_Transport' => $baseDir . '/src/wp-includes/Requests/Exception/Transport.php',
     96    'Requests_Exception_Transport_cURL' => $baseDir . '/src/wp-includes/Requests/Exception/Transport/cURL.php',
     97    'Requests_Hooker' => $baseDir . '/src/wp-includes/Requests/Hooker.php',
     98    'Requests_Hooks' => $baseDir . '/src/wp-includes/Requests/Hooks.php',
     99    'Requests_IDNAEncoder' => $baseDir . '/src/wp-includes/Requests/IDNAEncoder.php',
     100    'Requests_IPv6' => $baseDir . '/src/wp-includes/Requests/IPv6.php',
     101    'Requests_IRI' => $baseDir . '/src/wp-includes/Requests/IRI.php',
     102    'Requests_Proxy' => $baseDir . '/src/wp-includes/Requests/Proxy.php',
     103    'Requests_Proxy_HTTP' => $baseDir . '/src/wp-includes/Requests/Proxy/HTTP.php',
     104    'Requests_Response' => $baseDir . '/src/wp-includes/Requests/Response.php',
     105    'Requests_Response_Headers' => $baseDir . '/src/wp-includes/Requests/Response/Headers.php',
     106    'Requests_SSL' => $baseDir . '/src/wp-includes/Requests/SSL.php',
     107    'Requests_Session' => $baseDir . '/src/wp-includes/Requests/Session.php',
     108    'Requests_Transport' => $baseDir . '/src/wp-includes/Requests/Transport.php',
     109    'Requests_Transport_cURL' => $baseDir . '/src/wp-includes/Requests/Transport/cURL.php',
     110    'Requests_Transport_fsockopen' => $baseDir . '/src/wp-includes/Requests/Transport/fsockopen.php',
     111    'Requests_Utility_CaseInsensitiveDictionary' => $baseDir . '/src/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php',
     112    'Requests_Utility_FilteredIterator' => $baseDir . '/src/wp-includes/Requests/Utility/FilteredIterator.php',
     113    'SMTP' => $baseDir . '/src/wp-includes/class-smtp.php',
     114    'Services_JSON' => $baseDir . '/src/wp-includes/class-json.php',
     115    'Services_JSON_Error' => $baseDir . '/src/wp-includes/class-json.php',
     116    'SimplePie' => $baseDir . '/src/wp-includes/class-simplepie.php',
     117    'SimplePie_Author' => $baseDir . '/src/wp-includes/SimplePie/Author.php',
     118    'SimplePie_Cache' => $baseDir . '/src/wp-includes/SimplePie/Cache.php',
     119    'SimplePie_Cache_Base' => $baseDir . '/src/wp-includes/SimplePie/Cache/Base.php',
     120    'SimplePie_Cache_DB' => $baseDir . '/src/wp-includes/SimplePie/Cache/DB.php',
     121    'SimplePie_Cache_File' => $baseDir . '/src/wp-includes/SimplePie/Cache/File.php',
     122    'SimplePie_Cache_Memcache' => $baseDir . '/src/wp-includes/SimplePie/Cache/Memcache.php',
     123    'SimplePie_Cache_MySQL' => $baseDir . '/src/wp-includes/SimplePie/Cache/MySQL.php',
     124    'SimplePie_Caption' => $baseDir . '/src/wp-includes/SimplePie/Caption.php',
     125    'SimplePie_Category' => $baseDir . '/src/wp-includes/SimplePie/Category.php',
     126    'SimplePie_Content_Type_Sniffer' => $baseDir . '/src/wp-includes/SimplePie/Content/Type/Sniffer.php',
     127    'SimplePie_Copyright' => $baseDir . '/src/wp-includes/SimplePie/Copyright.php',
     128    'SimplePie_Core' => $baseDir . '/src/wp-includes/SimplePie/Core.php',
     129    'SimplePie_Credit' => $baseDir . '/src/wp-includes/SimplePie/Credit.php',
     130    'SimplePie_Decode_HTML_Entities' => $baseDir . '/src/wp-includes/SimplePie/Decode/HTML/Entities.php',
     131    'SimplePie_Enclosure' => $baseDir . '/src/wp-includes/SimplePie/Enclosure.php',
     132    'SimplePie_Exception' => $baseDir . '/src/wp-includes/SimplePie/Exception.php',
     133    'SimplePie_File' => $baseDir . '/src/wp-includes/SimplePie/File.php',
     134    'SimplePie_HTTP_Parser' => $baseDir . '/src/wp-includes/SimplePie/HTTP/Parser.php',
     135    'SimplePie_IRI' => $baseDir . '/src/wp-includes/SimplePie/IRI.php',
     136    'SimplePie_Item' => $baseDir . '/src/wp-includes/SimplePie/Item.php',
     137    'SimplePie_Locator' => $baseDir . '/src/wp-includes/SimplePie/Locator.php',
     138    'SimplePie_Misc' => $baseDir . '/src/wp-includes/SimplePie/Misc.php',
     139    'SimplePie_Net_IPv6' => $baseDir . '/src/wp-includes/SimplePie/Net/IPv6.php',
     140    'SimplePie_Parse_Date' => $baseDir . '/src/wp-includes/SimplePie/Parse/Date.php',
     141    'SimplePie_Parser' => $baseDir . '/src/wp-includes/SimplePie/Parser.php',
     142    'SimplePie_Rating' => $baseDir . '/src/wp-includes/SimplePie/Rating.php',
     143    'SimplePie_Registry' => $baseDir . '/src/wp-includes/SimplePie/Registry.php',
     144    'SimplePie_Restriction' => $baseDir . '/src/wp-includes/SimplePie/Restriction.php',
     145    'SimplePie_Sanitize' => $baseDir . '/src/wp-includes/SimplePie/Sanitize.php',
     146    'SimplePie_Source' => $baseDir . '/src/wp-includes/SimplePie/Source.php',
     147    'SimplePie_XML_Declaration_Parser' => $baseDir . '/src/wp-includes/SimplePie/XML/Declaration/Parser.php',
     148    'SimplePie_gzdecode' => $baseDir . '/src/wp-includes/SimplePie/gzdecode.php',
     149    'Snoopy' => $baseDir . '/src/wp-includes/class-snoopy.php',
     150    'Text_Diff' => $baseDir . '/src/wp-includes/Text/Diff.php',
     151    'Text_Diff_Engine_native' => $baseDir . '/src/wp-includes/Text/Diff/Engine/native.php',
     152    'Text_Diff_Engine_shell' => $baseDir . '/src/wp-includes/Text/Diff/Engine/shell.php',
     153    'Text_Diff_Engine_string' => $baseDir . '/src/wp-includes/Text/Diff/Engine/string.php',
     154    'Text_Diff_Engine_xdiff' => $baseDir . '/src/wp-includes/Text/Diff/Engine/xdiff.php',
     155    'Text_Diff_Op' => $baseDir . '/src/wp-includes/Text/Diff.php',
     156    'Text_Diff_Op_add' => $baseDir . '/src/wp-includes/Text/Diff.php',
     157    'Text_Diff_Op_change' => $baseDir . '/src/wp-includes/Text/Diff.php',
     158    'Text_Diff_Op_copy' => $baseDir . '/src/wp-includes/Text/Diff.php',
     159    'Text_Diff_Op_delete' => $baseDir . '/src/wp-includes/Text/Diff.php',
     160    'Text_Diff_Renderer' => $baseDir . '/src/wp-includes/Text/Diff/Renderer.php',
     161    'Text_Diff_Renderer_inline' => $baseDir . '/src/wp-includes/Text/Diff/Renderer/inline.php',
     162    'Text_MappedDiff' => $baseDir . '/src/wp-includes/Text/Diff.php',
     163    'Theme_Installer_Skin' => $baseDir . '/src/wp-admin/includes/class-theme-installer-skin.php',
     164    'Theme_Upgrader' => $baseDir . '/src/wp-admin/includes/class-theme-upgrader.php',
     165    'Theme_Upgrader_Skin' => $baseDir . '/src/wp-admin/includes/class-theme-upgrader-skin.php',
     166    'Translation_Entry' => $baseDir . '/src/wp-includes/pomo/entry.php',
     167    'Translations' => $baseDir . '/src/wp-includes/pomo/translations.php',
     168    'TypeError' => $baseDir . '/src/wp-includes/random_compat/error_polyfill.php',
     169    'WP' => $baseDir . '/src/wp-includes/class-wp.php',
     170    'WP_Admin_Bar' => $baseDir . '/src/wp-includes/class-wp-admin-bar.php',
     171    'WP_Ajax_Response' => $baseDir . '/src/wp-includes/class-wp-ajax-response.php',
     172    'WP_Ajax_Upgrader_Skin' => $baseDir . '/src/wp-admin/includes/class-wp-ajax-upgrader-skin.php',
     173    'WP_Automatic_Updater' => $baseDir . '/src/wp-admin/includes/class-wp-automatic-updater.php',
     174    'WP_Comment' => $baseDir . '/src/wp-includes/class-wp-comment.php',
     175    'WP_Comment_Query' => $baseDir . '/src/wp-includes/class-wp-comment-query.php',
     176    'WP_Comments_List_Table' => $baseDir . '/src/wp-admin/includes/class-wp-comments-list-table.php',
     177    'WP_Customize_Background_Image_Control' => $baseDir . '/src/wp-includes/customize/class-wp-customize-background-image-control.php',
     178    'WP_Customize_Background_Image_Setting' => $baseDir . '/src/wp-includes/customize/class-wp-customize-background-image-setting.php',
     179    'WP_Customize_Color_Control' => $baseDir . '/src/wp-includes/customize/class-wp-customize-color-control.php',
     180    'WP_Customize_Control' => $baseDir . '/src/wp-includes/class-wp-customize-control.php',
     181    'WP_Customize_Cropped_Image_Control' => $baseDir . '/src/wp-includes/customize/class-wp-customize-cropped-image-control.php',
     182    'WP_Customize_Filter_Setting' => $baseDir . '/src/wp-includes/customize/class-wp-customize-filter-setting.php',
     183    'WP_Customize_Header_Image_Control' => $baseDir . '/src/wp-includes/customize/class-wp-customize-header-image-control.php',
     184    'WP_Customize_Header_Image_Setting' => $baseDir . '/src/wp-includes/customize/class-wp-customize-header-image-setting.php',
     185    'WP_Customize_Image_Control' => $baseDir . '/src/wp-includes/customize/class-wp-customize-image-control.php',
     186    'WP_Customize_Manager' => $baseDir . '/src/wp-includes/class-wp-customize-manager.php',
     187    'WP_Customize_Media_Control' => $baseDir . '/src/wp-includes/customize/class-wp-customize-media-control.php',
     188    'WP_Customize_Nav_Menu_Auto_Add_Control' => $baseDir . '/src/wp-includes/customize/class-wp-customize-nav-menu-auto-add-control.php',
     189    'WP_Customize_Nav_Menu_Control' => $baseDir . '/src/wp-includes/customize/class-wp-customize-nav-menu-control.php',
     190    'WP_Customize_Nav_Menu_Item_Control' => $baseDir . '/src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php',
     191    'WP_Customize_Nav_Menu_Item_Setting' => $baseDir . '/src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php',
     192    'WP_Customize_Nav_Menu_Location_Control' => $baseDir . '/src/wp-includes/customize/class-wp-customize-nav-menu-location-control.php',
     193    'WP_Customize_Nav_Menu_Name_Control' => $baseDir . '/src/wp-includes/customize/class-wp-customize-nav-menu-name-control.php',
     194    'WP_Customize_Nav_Menu_Section' => $baseDir . '/src/wp-includes/customize/class-wp-customize-nav-menu-section.php',
     195    'WP_Customize_Nav_Menu_Setting' => $baseDir . '/src/wp-includes/customize/class-wp-customize-nav-menu-setting.php',
     196    'WP_Customize_Nav_Menus' => $baseDir . '/src/wp-includes/class-wp-customize-nav-menus.php',
     197    'WP_Customize_Nav_Menus_Panel' => $baseDir . '/src/wp-includes/customize/class-wp-customize-nav-menus-panel.php',
     198    'WP_Customize_New_Menu_Control' => $baseDir . '/src/wp-includes/customize/class-wp-customize-new-menu-control.php',
     199    'WP_Customize_New_Menu_Section' => $baseDir . '/src/wp-includes/customize/class-wp-customize-new-menu-section.php',
     200    'WP_Customize_Panel' => $baseDir . '/src/wp-includes/class-wp-customize-panel.php',
     201    'WP_Customize_Partial' => $baseDir . '/src/wp-includes/customize/class-wp-customize-partial.php',
     202    'WP_Customize_Section' => $baseDir . '/src/wp-includes/class-wp-customize-section.php',
     203    'WP_Customize_Selective_Refresh' => $baseDir . '/src/wp-includes/customize/class-wp-customize-selective-refresh.php',
     204    'WP_Customize_Setting' => $baseDir . '/src/wp-includes/class-wp-customize-setting.php',
     205    'WP_Customize_Sidebar_Section' => $baseDir . '/src/wp-includes/customize/class-wp-customize-sidebar-section.php',
     206    'WP_Customize_Site_Icon_Control' => $baseDir . '/src/wp-includes/customize/class-wp-customize-site-icon-control.php',
     207    'WP_Customize_Theme_Control' => $baseDir . '/src/wp-includes/customize/class-wp-customize-theme-control.php',
     208    'WP_Customize_Themes_Section' => $baseDir . '/src/wp-includes/customize/class-wp-customize-themes-section.php',
     209    'WP_Customize_Upload_Control' => $baseDir . '/src/wp-includes/customize/class-wp-customize-upload-control.php',
     210    'WP_Customize_Widgets' => $baseDir . '/src/wp-includes/class-wp-customize-widgets.php',
     211    'WP_Date_Query' => $baseDir . '/src/wp-includes/date.php',
     212    'WP_Dependencies' => $baseDir . '/src/wp-includes/class.wp-dependencies.php',
     213    'WP_Embed' => $baseDir . '/src/wp-includes/class-wp-embed.php',
     214    'WP_Error' => $baseDir . '/src/wp-includes/class-wp-error.php',
     215    'WP_Feed_Cache' => $baseDir . '/src/wp-includes/class-wp-feed-cache.php',
     216    'WP_Feed_Cache_Transient' => $baseDir . '/src/wp-includes/class-wp-feed-cache-transient.php',
     217    'WP_Filesystem_Base' => $baseDir . '/src/wp-admin/includes/class-wp-filesystem-base.php',
     218    'WP_Filesystem_Direct' => $baseDir . '/src/wp-admin/includes/class-wp-filesystem-direct.php',
     219    'WP_Filesystem_FTPext' => $baseDir . '/src/wp-admin/includes/class-wp-filesystem-ftpext.php',
     220    'WP_Filesystem_SSH2' => $baseDir . '/src/wp-admin/includes/class-wp-filesystem-ssh2.php',
     221    'WP_Filesystem_ftpsockets' => $baseDir . '/src/wp-admin/includes/class-wp-filesystem-ftpsockets.php',
     222    'WP_HTTP_Fsockopen' => $baseDir . '/src/wp-includes/class-wp-http-streams.php',
     223    'WP_HTTP_IXR_Client' => $baseDir . '/src/wp-includes/class-wp-http-ixr-client.php',
     224    'WP_HTTP_Proxy' => $baseDir . '/src/wp-includes/class-wp-http-proxy.php',
     225    'WP_HTTP_Requests_Response' => $baseDir . '/src/wp-includes/class-wp-http-requests-response.php',
     226    'WP_HTTP_Response' => $baseDir . '/src/wp-includes/class-wp-http-response.php',
     227    'WP_Http' => $baseDir . '/src/wp-includes/class-http.php',
     228    'WP_Http_Cookie' => $baseDir . '/src/wp-includes/class-wp-http-cookie.php',
     229    'WP_Http_Curl' => $baseDir . '/src/wp-includes/class-wp-http-curl.php',
     230    'WP_Http_Encoding' => $baseDir . '/src/wp-includes/class-wp-http-encoding.php',
     231    'WP_Http_Streams' => $baseDir . '/src/wp-includes/class-wp-http-streams.php',
     232    'WP_Image_Editor' => $baseDir . '/src/wp-includes/class-wp-image-editor.php',
     233    'WP_Image_Editor_GD' => $baseDir . '/src/wp-includes/class-wp-image-editor-gd.php',
     234    'WP_Image_Editor_Imagick' => $baseDir . '/src/wp-includes/class-wp-image-editor-imagick.php',
     235    'WP_Importer' => $baseDir . '/src/wp-admin/includes/class-wp-importer.php',
     236    'WP_Internal_Pointers' => $baseDir . '/src/wp-admin/includes/class-wp-internal-pointers.php',
     237    'WP_Links_List_Table' => $baseDir . '/src/wp-admin/includes/class-wp-links-list-table.php',
     238    'WP_List_Table' => $baseDir . '/src/wp-admin/includes/class-wp-list-table.php',
     239    'WP_Locale' => $baseDir . '/src/wp-includes/class-wp-locale.php',
     240    'WP_MS_Sites_List_Table' => $baseDir . '/src/wp-admin/includes/class-wp-ms-sites-list-table.php',
     241    'WP_MS_Themes_List_Table' => $baseDir . '/src/wp-admin/includes/class-wp-ms-themes-list-table.php',
     242    'WP_MS_Users_List_Table' => $baseDir . '/src/wp-admin/includes/class-wp-ms-users-list-table.php',
     243    'WP_MatchesMapRegex' => $baseDir . '/src/wp-includes/class-wp.php',
     244    'WP_Media_List_Table' => $baseDir . '/src/wp-admin/includes/class-wp-media-list-table.php',
     245    'WP_Meta_Query' => $baseDir . '/src/wp-includes/class-wp-meta-query.php',
     246    'WP_Metadata_Lazyloader' => $baseDir . '/src/wp-includes/class-wp-metadata-lazyloader.php',
     247    'WP_Nav_Menu_Widget' => $baseDir . '/src/wp-includes/widgets/class-wp-nav-menu-widget.php',
     248    'WP_Network' => $baseDir . '/src/wp-includes/class-wp-network.php',
     249    'WP_Network_Query' => $baseDir . '/src/wp-includes/class-wp-network-query.php',
     250    'WP_Object_Cache' => $baseDir . '/src/wp-includes/cache.php',
     251    'WP_Plugin_Install_List_Table' => $baseDir . '/src/wp-admin/includes/class-wp-plugin-install-list-table.php',
     252    'WP_Plugins_List_Table' => $baseDir . '/src/wp-admin/includes/class-wp-plugins-list-table.php',
     253    'WP_Post' => $baseDir . '/src/wp-includes/class-wp-post.php',
     254    'WP_Post_Comments_List_Table' => $baseDir . '/src/wp-admin/includes/class-wp-post-comments-list-table.php',
     255    'WP_Post_Type' => $baseDir . '/src/wp-includes/class-wp-post-type.php',
     256    'WP_Posts_List_Table' => $baseDir . '/src/wp-admin/includes/class-wp-posts-list-table.php',
     257    'WP_Press_This' => $baseDir . '/src/wp-admin/includes/class-wp-press-this.php',
     258    'WP_Query' => $baseDir . '/src/wp-includes/class-wp-query.php',
     259    'WP_REST_Request' => $baseDir . '/src/wp-includes/rest-api/class-wp-rest-request.php',
     260    'WP_REST_Response' => $baseDir . '/src/wp-includes/rest-api/class-wp-rest-response.php',
     261    'WP_REST_Server' => $baseDir . '/src/wp-includes/rest-api/class-wp-rest-server.php',
     262    'WP_Rewrite' => $baseDir . '/src/wp-includes/class-wp-rewrite.php',
     263    'WP_Role' => $baseDir . '/src/wp-includes/class-wp-role.php',
     264    'WP_Roles' => $baseDir . '/src/wp-includes/class-wp-roles.php',
     265    'WP_Screen' => $baseDir . '/src/wp-admin/includes/class-wp-screen.php',
     266    'WP_Scripts' => $baseDir . '/src/wp-includes/class.wp-scripts.php',
     267    'WP_Session_Tokens' => $baseDir . '/src/wp-includes/class-wp-session-tokens.php',
     268    'WP_SimplePie_File' => $baseDir . '/src/wp-includes/class-wp-simplepie-file.php',
     269    'WP_SimplePie_Sanitize_KSES' => $baseDir . '/src/wp-includes/class-wp-simplepie-sanitize-kses.php',
     270    'WP_Site' => $baseDir . '/src/wp-includes/class-wp-site.php',
     271    'WP_Site_Icon' => $baseDir . '/src/wp-admin/includes/class-wp-site-icon.php',
     272    'WP_Site_Query' => $baseDir . '/src/wp-includes/class-wp-site-query.php',
     273    'WP_Styles' => $baseDir . '/src/wp-includes/class.wp-styles.php',
     274    'WP_Tax_Query' => $baseDir . '/src/wp-includes/class-wp-tax-query.php',
     275    'WP_Term' => $baseDir . '/src/wp-includes/class-wp-term.php',
     276    'WP_Term_Query' => $baseDir . '/src/wp-includes/class-wp-term-query.php',
     277    'WP_Terms_List_Table' => $baseDir . '/src/wp-admin/includes/class-wp-terms-list-table.php',
     278    'WP_Text_Diff_Renderer_Table' => $baseDir . '/src/wp-includes/class-wp-text-diff-renderer-table.php',
     279    'WP_Text_Diff_Renderer_inline' => $baseDir . '/src/wp-includes/class-wp-text-diff-renderer-inline.php',
     280    'WP_Theme' => $baseDir . '/src/wp-includes/class-wp-theme.php',
     281    'WP_Theme_Install_List_Table' => $baseDir . '/src/wp-admin/includes/class-wp-theme-install-list-table.php',
     282    'WP_Themes_List_Table' => $baseDir . '/src/wp-admin/includes/class-wp-themes-list-table.php',
     283    'WP_Upgrader' => $baseDir . '/src/wp-admin/includes/class-wp-upgrader.php',
     284    'WP_Upgrader_Skin' => $baseDir . '/src/wp-admin/includes/class-wp-upgrader-skin.php',
     285    'WP_User' => $baseDir . '/src/wp-includes/class-wp-user.php',
     286    'WP_User_Meta_Session_Tokens' => $baseDir . '/src/wp-includes/class-wp-user-meta-session-tokens.php',
     287    'WP_User_Query' => $baseDir . '/src/wp-includes/class-wp-user-query.php',
     288    'WP_User_Search' => $baseDir . '/src/wp-admin/includes/deprecated.php',
     289    'WP_Users_List_Table' => $baseDir . '/src/wp-admin/includes/class-wp-users-list-table.php',
     290    'WP_Widget' => $baseDir . '/src/wp-includes/class-wp-widget.php',
     291    'WP_Widget_Archives' => $baseDir . '/src/wp-includes/widgets/class-wp-widget-archives.php',
     292    'WP_Widget_Area_Customize_Control' => $baseDir . '/src/wp-includes/customize/class-wp-widget-area-customize-control.php',
     293    'WP_Widget_Calendar' => $baseDir . '/src/wp-includes/widgets/class-wp-widget-calendar.php',
     294    'WP_Widget_Categories' => $baseDir . '/src/wp-includes/widgets/class-wp-widget-categories.php',
     295    'WP_Widget_Factory' => $baseDir . '/src/wp-includes/class-wp-widget-factory.php',
     296    'WP_Widget_Form_Customize_Control' => $baseDir . '/src/wp-includes/customize/class-wp-widget-form-customize-control.php',
     297    'WP_Widget_Links' => $baseDir . '/src/wp-includes/widgets/class-wp-widget-links.php',
     298    'WP_Widget_Meta' => $baseDir . '/src/wp-includes/widgets/class-wp-widget-meta.php',
     299    'WP_Widget_Pages' => $baseDir . '/src/wp-includes/widgets/class-wp-widget-pages.php',
     300    'WP_Widget_RSS' => $baseDir . '/src/wp-includes/widgets/class-wp-widget-rss.php',
     301    'WP_Widget_Recent_Comments' => $baseDir . '/src/wp-includes/widgets/class-wp-widget-recent-comments.php',
     302    'WP_Widget_Recent_Posts' => $baseDir . '/src/wp-includes/widgets/class-wp-widget-recent-posts.php',
     303    'WP_Widget_Search' => $baseDir . '/src/wp-includes/widgets/class-wp-widget-search.php',
     304    'WP_Widget_Tag_Cloud' => $baseDir . '/src/wp-includes/widgets/class-wp-widget-tag-cloud.php',
     305    'WP_Widget_Text' => $baseDir . '/src/wp-includes/widgets/class-wp-widget-text.php',
     306    'WP_oEmbed' => $baseDir . '/src/wp-includes/class-oembed.php',
     307    'WP_oEmbed_Controller' => $baseDir . '/src/wp-includes/class-wp-oembed-controller.php',
     308    'Walker' => $baseDir . '/src/wp-includes/class-wp-walker.php',
     309    'Walker_Category' => $baseDir . '/src/wp-includes/class-walker-category.php',
     310    'Walker_CategoryDropdown' => $baseDir . '/src/wp-includes/class-walker-category-dropdown.php',
     311    'Walker_Category_Checklist' => $baseDir . '/src/wp-admin/includes/class-walker-category-checklist.php',
     312    'Walker_Comment' => $baseDir . '/src/wp-includes/class-walker-comment.php',
     313    'Walker_Nav_Menu' => $baseDir . '/src/wp-includes/class-walker-nav-menu.php',
     314    'Walker_Nav_Menu_Checklist' => $baseDir . '/src/wp-admin/includes/class-walker-nav-menu-checklist.php',
     315    'Walker_Nav_Menu_Edit' => $baseDir . '/src/wp-admin/includes/class-walker-nav-menu-edit.php',
     316    'Walker_Page' => $baseDir . '/src/wp-includes/class-walker-page.php',
     317    'Walker_PageDropdown' => $baseDir . '/src/wp-includes/class-walker-page-dropdown.php',
     318    '_WP_Dependency' => $baseDir . '/src/wp-includes/class.wp-dependencies.php',
     319    '_WP_Editors' => $baseDir . '/src/wp-includes/class-wp-editor.php',
     320    '_WP_List_Table_Compat' => $baseDir . '/src/wp-admin/includes/list-table.php',
     321    'ftp' => $baseDir . '/src/wp-admin/includes/class-ftp-pure.php',
     322    'ftp_base' => $baseDir . '/src/wp-admin/includes/class-ftp.php',
     323    'getID3' => $baseDir . '/src/wp-includes/ID3/getid3.php',
     324    'getid3_ac3' => $baseDir . '/src/wp-includes/ID3/module.audio.ac3.php',
     325    'getid3_apetag' => $baseDir . '/src/wp-includes/ID3/module.tag.apetag.php',
     326    'getid3_asf' => $baseDir . '/src/wp-includes/ID3/module.audio-video.asf.php',
     327    'getid3_dts' => $baseDir . '/src/wp-includes/ID3/module.audio.dts.php',
     328    'getid3_exception' => $baseDir . '/src/wp-includes/ID3/getid3.php',
     329    'getid3_flac' => $baseDir . '/src/wp-includes/ID3/module.audio.flac.php',
     330    'getid3_flv' => $baseDir . '/src/wp-includes/ID3/module.audio-video.flv.php',
     331    'getid3_handler' => $baseDir . '/src/wp-includes/ID3/getid3.php',
     332    'getid3_id3v1' => $baseDir . '/src/wp-includes/ID3/module.tag.id3v1.php',
     333    'getid3_id3v2' => $baseDir . '/src/wp-includes/ID3/module.tag.id3v2.php',
     334    'getid3_lib' => $baseDir . '/src/wp-includes/ID3/getid3.lib.php',
     335    'getid3_lyrics3' => $baseDir . '/src/wp-includes/ID3/module.tag.lyrics3.php',
     336    'getid3_matroska' => $baseDir . '/src/wp-includes/ID3/module.audio-video.matroska.php',
     337    'getid3_mp3' => $baseDir . '/src/wp-includes/ID3/module.audio.mp3.php',
     338    'getid3_ogg' => $baseDir . '/src/wp-includes/ID3/module.audio.ogg.php',
     339    'getid3_quicktime' => $baseDir . '/src/wp-includes/ID3/module.audio-video.quicktime.php',
     340    'getid3_riff' => $baseDir . '/src/wp-includes/ID3/module.audio-video.riff.php',
     341    'phpmailerException' => $baseDir . '/src/wp-includes/class-phpmailer.php',
     342    'wp_atom_server' => $baseDir . '/src/wp-includes/pluggable-deprecated.php',
     343    'wp_xmlrpc_server' => $baseDir . '/src/wp-includes/class-wp-xmlrpc-server.php',
     344    'wpdb' => $baseDir . '/src/wp-includes/wp-db.php',
     345);
  • src/vendor/composer/autoload_files.php

     
     1<?php
     2
     3// autoload_files.php @generated by Composer
     4
     5$vendorDir = dirname(dirname(__FILE__));
     6$baseDir = dirname(dirname($vendorDir));
     7
     8return array(
     9    'cb6228b7c53f0598f326c1ebfaf7cb40' => $baseDir . '/src/wp-includes/load.php',
     10    '81454384d526fb0797c1b56b296dd56f' => $baseDir . '/src/wp-includes/default-constants.php',
     11    '4dc4c9ccdfb2ed81b6da2860d7af166d' => $baseDir . '/src/wp-includes/plugin.php',
     12    '9bb622bd6dd1bc15a4d83fc2393d896c' => $baseDir . '/src/wp-includes/functions.php',
     13    '83ccf2f2f33336a7285c284773816214' => $baseDir . '/src/wp-includes/default-filters.php',
     14    'eff1c456186ac33ca0bac4889284de21' => $baseDir . '/src/wp-includes/formatting.php',
     15    'e00abf88106f8ed0b416706025207f32' => $baseDir . '/src/wp-includes/capabilities.php',
     16    '184e8cafa4251584a3e6d51b17d2f6d4' => $baseDir . '/src/wp-includes/query.php',
     17    '54cdb1ecdba052ca31eb6fe6b26b5fa0' => $baseDir . '/src/wp-includes/theme.php',
     18    '2120a0ad608ca2e6e285a7602c774aea' => $baseDir . '/src/wp-includes/template.php',
     19    'ff48408a32ccdde7aed1cd697597d7a5' => $baseDir . '/src/wp-includes/user.php',
     20    '4df55d38d577f4ac32f3b7fbb93c0d41' => $baseDir . '/src/wp-includes/meta.php',
     21    '84d2858eaacb7d529cfd3cb9f0aae3f1' => $baseDir . '/src/wp-includes/general-template.php',
     22    '97b71049ed2ecd7932d694f09fe6ec87' => $baseDir . '/src/wp-includes/link-template.php',
     23    'd2f473b684affa5d4a7774ae73968b77' => $baseDir . '/src/wp-includes/author-template.php',
     24    '6e49526a1151cc242aa4a04f6d6d40f1' => $baseDir . '/src/wp-includes/post.php',
     25    'b8f5ce0168dbdd2a4954b8878b67f02b' => $baseDir . '/src/wp-includes/post-template.php',
     26    '7083e1a75d6d6c29bece9155e90d2bbf' => $baseDir . '/src/wp-includes/revision.php',
     27    '8f45fe5cd5805ddae2d3d9f32f4b080d' => $baseDir . '/src/wp-includes/post-formats.php',
     28    'ba2892029cbb11104415ac0020c2368b' => $baseDir . '/src/wp-includes/post-thumbnail-template.php',
     29    'a7a8a2965ccb5b01ff7c41e8f971e177' => $baseDir . '/src/wp-includes/category.php',
     30    'ef879d4c1dae33586157f6aa0622f2ea' => $baseDir . '/src/wp-includes/category-template.php',
     31    '2d3600caafab6b6088052b19f61e9f77' => $baseDir . '/src/wp-includes/comment.php',
     32    '5f67b64106ed018b551a809f9596caac' => $baseDir . '/src/wp-includes/comment-template.php',
     33    'a89b6a24c8f960094a70a8b4edbcce51' => $baseDir . '/src/wp-includes/rewrite.php',
     34    '286f5f8e348cd16a93bef6f7aa413baa' => $baseDir . '/src/wp-includes/feed.php',
     35    '01e61f8d97b655b604e0f9b230c486b7' => $baseDir . '/src/wp-includes/bookmark.php',
     36    '2bd943eccadb1066425d67b7b648029d' => $baseDir . '/src/wp-includes/bookmark-template.php',
     37    '0f0285cd831ae3fed65f68e7b14b0f48' => $baseDir . '/src/wp-includes/kses.php',
     38    'bf5b09070f99cafddb3b2f9f462510f3' => $baseDir . '/src/wp-includes/cron.php',
     39    '073322f4d5f485776438e7705d2ed7bc' => $baseDir . '/src/wp-includes/deprecated.php',
     40    'ef04203a3e8fd7fc6245411bbc5496f5' => $baseDir . '/src/wp-includes/script-loader.php',
     41    '0aefd7c228f090ce28e12b8e034ec378' => $baseDir . '/src/wp-includes/taxonomy.php',
     42    'a317607e6e3cd4af0156a11a5e7b98de' => $baseDir . '/src/wp-includes/update.php',
     43    'a4b4ef2c42e00af9f8943244602e3193' => $baseDir . '/src/wp-includes/canonical.php',
     44    'dd586fcf731623f3210062e72d8628f1' => $baseDir . '/src/wp-includes/shortcodes.php',
     45    'b63df7ce389323096e4c5c6c2bcfd909' => $baseDir . '/src/wp-includes/embed.php',
     46    '2064adb683bc5a40f302b62af9006d9d' => $baseDir . '/src/wp-includes/media.php',
     47    '8bcb074c2c35804f2d58a4b1a4f0d74b' => $baseDir . '/src/wp-includes/http.php',
     48    'cab119ba9ecb923f4269e51138513374' => $baseDir . '/src/wp-includes/class-http.php',
     49    '650b2ea973d4bab5f1388da587202d6b' => $baseDir . '/src/wp-includes/widgets.php',
     50    '622a542295069c96076ba9647cd83549' => $baseDir . '/src/wp-includes/nav-menu.php',
     51    'f599386fa42917179d4e750c28730b4c' => $baseDir . '/src/wp-includes/nav-menu-template.php',
     52    '8b69952a2528a8b2bb656b41f5b92f6f' => $baseDir . '/src/wp-includes/admin-bar.php',
     53    '6a9ab2b27e63680066ba5e7c50d8d364' => $baseDir . '/src/wp-includes/rest-api.php',
     54    '6620f2e7be4d15805651f0caca219bd4' => $baseDir . '/src/wp-includes/l10n.php',
     55);
  • src/vendor/composer/autoload_namespaces.php

     
     1<?php
     2
     3// autoload_namespaces.php @generated by Composer
     4
     5$vendorDir = dirname(dirname(__FILE__));
     6$baseDir = dirname(dirname($vendorDir));
     7
     8return array(
     9    'xrstf\\Composer52' => array($vendorDir . '/xrstf/composer-php52/lib'),
     10);
  • src/vendor/composer/autoload_psr4.php

     
     1<?php
     2
     3// autoload_psr4.php @generated by Composer
     4
     5$vendorDir = dirname(dirname(__FILE__));
     6$baseDir = dirname(dirname($vendorDir));
     7
     8return array(
     9);
  • src/vendor/composer/autoload_real.php

     
     1<?php
     2
     3// autoload_real.php @generated by Composer
     4
     5class ComposerAutoloaderInit5f802e6773748e86f907e3d9bc7d98de
     6{
     7    private static $loader;
     8
     9    public static function loadClassLoader($class)
     10    {
     11        if ('Composer\Autoload\ClassLoader' === $class) {
     12            require __DIR__ . '/ClassLoader.php';
     13        }
     14    }
     15
     16    public static function getLoader()
     17    {
     18        if (null !== self::$loader) {
     19            return self::$loader;
     20        }
     21
     22        spl_autoload_register(array('ComposerAutoloaderInit5f802e6773748e86f907e3d9bc7d98de', 'loadClassLoader'), true, true);
     23        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
     24        spl_autoload_unregister(array('ComposerAutoloaderInit5f802e6773748e86f907e3d9bc7d98de', 'loadClassLoader'));
     25
     26        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION');
     27        if ($useStaticLoader) {
     28            require_once __DIR__ . '/autoload_static.php';
     29
     30            call_user_func(\Composer\Autoload\ComposerStaticInit5f802e6773748e86f907e3d9bc7d98de::getInitializer($loader));
     31        } else {
     32            $map = require __DIR__ . '/autoload_namespaces.php';
     33            foreach ($map as $namespace => $path) {
     34                $loader->set($namespace, $path);
     35            }
     36
     37            $map = require __DIR__ . '/autoload_psr4.php';
     38            foreach ($map as $namespace => $path) {
     39                $loader->setPsr4($namespace, $path);
     40            }
     41
     42            $classMap = require __DIR__ . '/autoload_classmap.php';
     43            if ($classMap) {
     44                $loader->addClassMap($classMap);
     45            }
     46        }
     47
     48        $loader->register(true);
     49
     50        if ($useStaticLoader) {
     51            $includeFiles = Composer\Autoload\ComposerStaticInit5f802e6773748e86f907e3d9bc7d98de::$files;
     52        } else {
     53            $includeFiles = require __DIR__ . '/autoload_files.php';
     54        }
     55        foreach ($includeFiles as $fileIdentifier => $file) {
     56            composerRequire5f802e6773748e86f907e3d9bc7d98de($fileIdentifier, $file);
     57        }
     58
     59        return $loader;
     60    }
     61}
     62
     63function composerRequire5f802e6773748e86f907e3d9bc7d98de($fileIdentifier, $file)
     64{
     65    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
     66        require $file;
     67
     68        $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
     69    }
     70}
  • src/vendor/composer/autoload_real_52.php

     
     1<?php
     2
     3// autoload_real_52.php generated by xrstf/composer-php52
     4
     5class ComposerAutoloaderInitf2472e000a93345545886641ae7538d6 {
     6        private static $loader;
     7
     8        public static function loadClassLoader($class) {
     9                if ('xrstf_Composer52_ClassLoader' === $class) {
     10                        require dirname(__FILE__).'/ClassLoader52.php';
     11                }
     12        }
     13
     14        /**
     15         * @return xrstf_Composer52_ClassLoader
     16         */
     17        public static function getLoader() {
     18                if (null !== self::$loader) {
     19                        return self::$loader;
     20                }
     21
     22                spl_autoload_register(array('ComposerAutoloaderInitf2472e000a93345545886641ae7538d6', 'loadClassLoader'), true /*, true */);
     23                self::$loader = $loader = new xrstf_Composer52_ClassLoader();
     24                spl_autoload_unregister(array('ComposerAutoloaderInitf2472e000a93345545886641ae7538d6', 'loadClassLoader'));
     25
     26                $vendorDir = dirname(dirname(__FILE__));
     27                $baseDir   = dirname(dirname($vendorDir));
     28                $dir       = dirname(__FILE__);
     29
     30                $map = require $dir.'/autoload_namespaces.php';
     31                foreach ($map as $namespace => $path) {
     32                        $loader->add($namespace, $path);
     33                }
     34
     35                $classMap = require $dir.'/autoload_classmap.php';
     36                if ($classMap) {
     37                        $loader->addClassMap($classMap);
     38                }
     39
     40                $loader->register(true);
     41
     42                require $baseDir . '/src/wp-includes/load.php';
     43                require $baseDir . '/src/wp-includes/default-constants.php';
     44                require $baseDir . '/src/wp-includes/plugin.php';
     45                require $baseDir . '/src/wp-includes/functions.php';
     46                require $baseDir . '/src/wp-includes/default-filters.php';
     47                require $baseDir . '/src/wp-includes/formatting.php';
     48                require $baseDir . '/src/wp-includes/capabilities.php';
     49                require $baseDir . '/src/wp-includes/query.php';
     50                require $baseDir . '/src/wp-includes/theme.php';
     51                require $baseDir . '/src/wp-includes/template.php';
     52                require $baseDir . '/src/wp-includes/user.php';
     53                require $baseDir . '/src/wp-includes/meta.php';
     54                require $baseDir . '/src/wp-includes/general-template.php';
     55                require $baseDir . '/src/wp-includes/link-template.php';
     56                require $baseDir . '/src/wp-includes/author-template.php';
     57                require $baseDir . '/src/wp-includes/post.php';
     58                require $baseDir . '/src/wp-includes/post-template.php';
     59                require $baseDir . '/src/wp-includes/revision.php';
     60                require $baseDir . '/src/wp-includes/post-formats.php';
     61                require $baseDir . '/src/wp-includes/post-thumbnail-template.php';
     62                require $baseDir . '/src/wp-includes/category.php';
     63                require $baseDir . '/src/wp-includes/category-template.php';
     64                require $baseDir . '/src/wp-includes/comment.php';
     65                require $baseDir . '/src/wp-includes/comment-template.php';
     66                require $baseDir . '/src/wp-includes/rewrite.php';
     67                require $baseDir . '/src/wp-includes/feed.php';
     68                require $baseDir . '/src/wp-includes/bookmark.php';
     69                require $baseDir . '/src/wp-includes/bookmark-template.php';
     70                require $baseDir . '/src/wp-includes/kses.php';
     71                require $baseDir . '/src/wp-includes/cron.php';
     72                require $baseDir . '/src/wp-includes/deprecated.php';
     73                require $baseDir . '/src/wp-includes/script-loader.php';
     74                require $baseDir . '/src/wp-includes/taxonomy.php';
     75                require $baseDir . '/src/wp-includes/update.php';
     76                require $baseDir . '/src/wp-includes/canonical.php';
     77                require $baseDir . '/src/wp-includes/shortcodes.php';
     78                require $baseDir . '/src/wp-includes/embed.php';
     79                require $baseDir . '/src/wp-includes/media.php';
     80                require $baseDir . '/src/wp-includes/http.php';
     81                require $baseDir . '/src/wp-includes/class-http.php';
     82                require $baseDir . '/src/wp-includes/widgets.php';
     83                require $baseDir . '/src/wp-includes/nav-menu.php';
     84                require $baseDir . '/src/wp-includes/nav-menu-template.php';
     85                require $baseDir . '/src/wp-includes/admin-bar.php';
     86                require $baseDir . '/src/wp-includes/rest-api.php';
     87                require $baseDir . '/src/wp-includes/l10n.php';
     88
     89                return $loader;
     90        }
     91}
  • src/vendor/composer/autoload_static.php

     
     1<?php
     2
     3// autoload_static.php @generated by Composer
     4
     5namespace Composer\Autoload;
     6
     7class ComposerStaticInit5f802e6773748e86f907e3d9bc7d98de
     8{
     9    public static $files = array (
     10        'cb6228b7c53f0598f326c1ebfaf7cb40' => __DIR__ . '/../../..' . '/src/wp-includes/load.php',
     11        '81454384d526fb0797c1b56b296dd56f' => __DIR__ . '/../../..' . '/src/wp-includes/default-constants.php',
     12        '4dc4c9ccdfb2ed81b6da2860d7af166d' => __DIR__ . '/../../..' . '/src/wp-includes/plugin.php',
     13        '9bb622bd6dd1bc15a4d83fc2393d896c' => __DIR__ . '/../../..' . '/src/wp-includes/functions.php',
     14        '83ccf2f2f33336a7285c284773816214' => __DIR__ . '/../../..' . '/src/wp-includes/default-filters.php',
     15        'eff1c456186ac33ca0bac4889284de21' => __DIR__ . '/../../..' . '/src/wp-includes/formatting.php',
     16        'e00abf88106f8ed0b416706025207f32' => __DIR__ . '/../../..' . '/src/wp-includes/capabilities.php',
     17        '184e8cafa4251584a3e6d51b17d2f6d4' => __DIR__ . '/../../..' . '/src/wp-includes/query.php',
     18        '54cdb1ecdba052ca31eb6fe6b26b5fa0' => __DIR__ . '/../../..' . '/src/wp-includes/theme.php',
     19        '2120a0ad608ca2e6e285a7602c774aea' => __DIR__ . '/../../..' . '/src/wp-includes/template.php',
     20        'ff48408a32ccdde7aed1cd697597d7a5' => __DIR__ . '/../../..' . '/src/wp-includes/user.php',
     21        '4df55d38d577f4ac32f3b7fbb93c0d41' => __DIR__ . '/../../..' . '/src/wp-includes/meta.php',
     22        '84d2858eaacb7d529cfd3cb9f0aae3f1' => __DIR__ . '/../../..' . '/src/wp-includes/general-template.php',
     23        '97b71049ed2ecd7932d694f09fe6ec87' => __DIR__ . '/../../..' . '/src/wp-includes/link-template.php',
     24        'd2f473b684affa5d4a7774ae73968b77' => __DIR__ . '/../../..' . '/src/wp-includes/author-template.php',
     25        '6e49526a1151cc242aa4a04f6d6d40f1' => __DIR__ . '/../../..' . '/src/wp-includes/post.php',
     26        'b8f5ce0168dbdd2a4954b8878b67f02b' => __DIR__ . '/../../..' . '/src/wp-includes/post-template.php',
     27        '7083e1a75d6d6c29bece9155e90d2bbf' => __DIR__ . '/../../..' . '/src/wp-includes/revision.php',
     28        '8f45fe5cd5805ddae2d3d9f32f4b080d' => __DIR__ . '/../../..' . '/src/wp-includes/post-formats.php',
     29        'ba2892029cbb11104415ac0020c2368b' => __DIR__ . '/../../..' . '/src/wp-includes/post-thumbnail-template.php',
     30        'a7a8a2965ccb5b01ff7c41e8f971e177' => __DIR__ . '/../../..' . '/src/wp-includes/category.php',
     31        'ef879d4c1dae33586157f6aa0622f2ea' => __DIR__ . '/../../..' . '/src/wp-includes/category-template.php',
     32        '2d3600caafab6b6088052b19f61e9f77' => __DIR__ . '/../../..' . '/src/wp-includes/comment.php',
     33        '5f67b64106ed018b551a809f9596caac' => __DIR__ . '/../../..' . '/src/wp-includes/comment-template.php',
     34        'a89b6a24c8f960094a70a8b4edbcce51' => __DIR__ . '/../../..' . '/src/wp-includes/rewrite.php',
     35        '286f5f8e348cd16a93bef6f7aa413baa' => __DIR__ . '/../../..' . '/src/wp-includes/feed.php',
     36        '01e61f8d97b655b604e0f9b230c486b7' => __DIR__ . '/../../..' . '/src/wp-includes/bookmark.php',
     37        '2bd943eccadb1066425d67b7b648029d' => __DIR__ . '/../../..' . '/src/wp-includes/bookmark-template.php',
     38        '0f0285cd831ae3fed65f68e7b14b0f48' => __DIR__ . '/../../..' . '/src/wp-includes/kses.php',
     39        'bf5b09070f99cafddb3b2f9f462510f3' => __DIR__ . '/../../..' . '/src/wp-includes/cron.php',
     40        '073322f4d5f485776438e7705d2ed7bc' => __DIR__ . '/../../..' . '/src/wp-includes/deprecated.php',
     41        'ef04203a3e8fd7fc6245411bbc5496f5' => __DIR__ . '/../../..' . '/src/wp-includes/script-loader.php',
     42        '0aefd7c228f090ce28e12b8e034ec378' => __DIR__ . '/../../..' . '/src/wp-includes/taxonomy.php',
     43        'a317607e6e3cd4af0156a11a5e7b98de' => __DIR__ . '/../../..' . '/src/wp-includes/update.php',
     44        'a4b4ef2c42e00af9f8943244602e3193' => __DIR__ . '/../../..' . '/src/wp-includes/canonical.php',
     45        'dd586fcf731623f3210062e72d8628f1' => __DIR__ . '/../../..' . '/src/wp-includes/shortcodes.php',
     46        'b63df7ce389323096e4c5c6c2bcfd909' => __DIR__ . '/../../..' . '/src/wp-includes/embed.php',
     47        '2064adb683bc5a40f302b62af9006d9d' => __DIR__ . '/../../..' . '/src/wp-includes/media.php',
     48        '8bcb074c2c35804f2d58a4b1a4f0d74b' => __DIR__ . '/../../..' . '/src/wp-includes/http.php',
     49        'cab119ba9ecb923f4269e51138513374' => __DIR__ . '/../../..' . '/src/wp-includes/class-http.php',
     50        '650b2ea973d4bab5f1388da587202d6b' => __DIR__ . '/../../..' . '/src/wp-includes/widgets.php',
     51        '622a542295069c96076ba9647cd83549' => __DIR__ . '/../../..' . '/src/wp-includes/nav-menu.php',
     52        'f599386fa42917179d4e750c28730b4c' => __DIR__ . '/../../..' . '/src/wp-includes/nav-menu-template.php',
     53        '8b69952a2528a8b2bb656b41f5b92f6f' => __DIR__ . '/../../..' . '/src/wp-includes/admin-bar.php',
     54        '6a9ab2b27e63680066ba5e7c50d8d364' => __DIR__ . '/../../..' . '/src/wp-includes/rest-api.php',
     55        '6620f2e7be4d15805651f0caca219bd4' => __DIR__ . '/../../..' . '/src/wp-includes/l10n.php',
     56    );
     57
     58    public static $prefixesPsr0 = array (
     59        'x' =>
     60        array (
     61            'xrstf\\Composer52' =>
     62            array (
     63                0 => __DIR__ . '/..' . '/xrstf/composer-php52/lib',
     64            ),
     65        ),
     66    );
     67
     68    public static $classMap = array (
     69        'AMFReader' => __DIR__ . '/../../..' . '/src/wp-includes/ID3/module.audio-video.flv.php',
     70        'AMFStream' => __DIR__ . '/../../..' . '/src/wp-includes/ID3/module.audio-video.flv.php',
     71        'AVCSequenceParameterSetReader' => __DIR__ . '/../../..' . '/src/wp-includes/ID3/module.audio-video.flv.php',
     72        'AtomEntry' => __DIR__ . '/../../..' . '/src/wp-includes/atomlib.php',
     73        'AtomFeed' => __DIR__ . '/../../..' . '/src/wp-includes/atomlib.php',
     74        'AtomParser' => __DIR__ . '/../../..' . '/src/wp-includes/atomlib.php',
     75        'Automatic_Upgrader_Skin' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-automatic-upgrader-skin.php',
     76        'Bulk_Plugin_Upgrader_Skin' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-bulk-plugin-upgrader-skin.php',
     77        'Bulk_Theme_Upgrader_Skin' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-bulk-theme-upgrader-skin.php',
     78        'Bulk_Upgrader_Skin' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-bulk-upgrader-skin.php',
     79        'Core_Upgrader' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-core-upgrader.php',
     80        'Custom_Background' => __DIR__ . '/../../..' . '/src/wp-admin/custom-background.php',
     81        'Custom_Image_Header' => __DIR__ . '/../../..' . '/src/wp-admin/custom-header.php',
     82        'Error' => __DIR__ . '/../../..' . '/src/wp-includes/random_compat/error_polyfill.php',
     83        'File_Upload_Upgrader' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-file-upload-upgrader.php',
     84        'Gettext_Translations' => __DIR__ . '/../../..' . '/src/wp-includes/pomo/translations.php',
     85        'IXR_Base64' => __DIR__ . '/../../..' . '/src/wp-includes/class-IXR.php',
     86        'IXR_Client' => __DIR__ . '/../../..' . '/src/wp-includes/class-IXR.php',
     87        'IXR_ClientMulticall' => __DIR__ . '/../../..' . '/src/wp-includes/class-IXR.php',
     88        'IXR_Date' => __DIR__ . '/../../..' . '/src/wp-includes/class-IXR.php',
     89        'IXR_Error' => __DIR__ . '/../../..' . '/src/wp-includes/class-IXR.php',
     90        'IXR_IntrospectionServer' => __DIR__ . '/../../..' . '/src/wp-includes/class-IXR.php',
     91        'IXR_Message' => __DIR__ . '/../../..' . '/src/wp-includes/class-IXR.php',
     92        'IXR_Request' => __DIR__ . '/../../..' . '/src/wp-includes/class-IXR.php',
     93        'IXR_Server' => __DIR__ . '/../../..' . '/src/wp-includes/class-IXR.php',
     94        'IXR_Value' => __DIR__ . '/../../..' . '/src/wp-includes/class-IXR.php',
     95        'JsonSerializable' => __DIR__ . '/../../..' . '/src/wp-includes/compat.php',
     96        'Language_Pack_Upgrader' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-language-pack-upgrader.php',
     97        'Language_Pack_Upgrader_Skin' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-language-pack-upgrader-skin.php',
     98        'MO' => __DIR__ . '/../../..' . '/src/wp-includes/pomo/mo.php',
     99        'MagpieRSS' => __DIR__ . '/../../..' . '/src/wp-includes/rss.php',
     100        'NOOP_Translations' => __DIR__ . '/../../..' . '/src/wp-includes/pomo/translations.php',
     101        'PHPMailer' => __DIR__ . '/../../..' . '/src/wp-includes/class-phpmailer.php',
     102        'PO' => __DIR__ . '/../../..' . '/src/wp-includes/pomo/po.php',
     103        'POMO_CachedFileReader' => __DIR__ . '/../../..' . '/src/wp-includes/pomo/streams.php',
     104        'POMO_CachedIntFileReader' => __DIR__ . '/../../..' . '/src/wp-includes/pomo/streams.php',
     105        'POMO_FileReader' => __DIR__ . '/../../..' . '/src/wp-includes/pomo/streams.php',
     106        'POMO_Reader' => __DIR__ . '/../../..' . '/src/wp-includes/pomo/streams.php',
     107        'POMO_StringReader' => __DIR__ . '/../../..' . '/src/wp-includes/pomo/streams.php',
     108        'POP3' => __DIR__ . '/../../..' . '/src/wp-includes/class-pop3.php',
     109        'PasswordHash' => __DIR__ . '/../../..' . '/src/wp-includes/class-phpass.php',
     110        'PclZip' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-pclzip.php',
     111        'Plugin_Installer_Skin' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-plugin-installer-skin.php',
     112        'Plugin_Upgrader' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-plugin-upgrader.php',
     113        'Plugin_Upgrader_Skin' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-plugin-upgrader-skin.php',
     114        'RSSCache' => __DIR__ . '/../../..' . '/src/wp-includes/rss.php',
     115        'Requests' => __DIR__ . '/../../..' . '/src/wp-includes/class-requests.php',
     116        'Requests_Auth' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Auth.php',
     117        'Requests_Auth_Basic' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Auth/Basic.php',
     118        'Requests_Cookie' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Cookie.php',
     119        'Requests_Cookie_Jar' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Cookie/Jar.php',
     120        'Requests_Exception' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception.php',
     121        'Requests_Exception_HTTP' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP.php',
     122        'Requests_Exception_HTTP_304' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/304.php',
     123        'Requests_Exception_HTTP_305' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/305.php',
     124        'Requests_Exception_HTTP_306' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/306.php',
     125        'Requests_Exception_HTTP_400' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/400.php',
     126        'Requests_Exception_HTTP_401' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/401.php',
     127        'Requests_Exception_HTTP_402' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/402.php',
     128        'Requests_Exception_HTTP_403' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/403.php',
     129        'Requests_Exception_HTTP_404' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/404.php',
     130        'Requests_Exception_HTTP_405' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/405.php',
     131        'Requests_Exception_HTTP_406' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/406.php',
     132        'Requests_Exception_HTTP_407' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/407.php',
     133        'Requests_Exception_HTTP_408' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/408.php',
     134        'Requests_Exception_HTTP_409' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/409.php',
     135        'Requests_Exception_HTTP_410' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/410.php',
     136        'Requests_Exception_HTTP_411' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/411.php',
     137        'Requests_Exception_HTTP_412' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/412.php',
     138        'Requests_Exception_HTTP_413' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/413.php',
     139        'Requests_Exception_HTTP_414' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/414.php',
     140        'Requests_Exception_HTTP_415' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/415.php',
     141        'Requests_Exception_HTTP_416' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/416.php',
     142        'Requests_Exception_HTTP_417' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/417.php',
     143        'Requests_Exception_HTTP_418' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/418.php',
     144        'Requests_Exception_HTTP_428' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/428.php',
     145        'Requests_Exception_HTTP_429' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/429.php',
     146        'Requests_Exception_HTTP_431' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/431.php',
     147        'Requests_Exception_HTTP_500' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/500.php',
     148        'Requests_Exception_HTTP_501' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/501.php',
     149        'Requests_Exception_HTTP_502' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/502.php',
     150        'Requests_Exception_HTTP_503' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/503.php',
     151        'Requests_Exception_HTTP_504' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/504.php',
     152        'Requests_Exception_HTTP_505' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/505.php',
     153        'Requests_Exception_HTTP_511' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/511.php',
     154        'Requests_Exception_HTTP_Unknown' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/HTTP/Unknown.php',
     155        'Requests_Exception_Transport' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/Transport.php',
     156        'Requests_Exception_Transport_cURL' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Exception/Transport/cURL.php',
     157        'Requests_Hooker' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Hooker.php',
     158        'Requests_Hooks' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Hooks.php',
     159        'Requests_IDNAEncoder' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/IDNAEncoder.php',
     160        'Requests_IPv6' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/IPv6.php',
     161        'Requests_IRI' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/IRI.php',
     162        'Requests_Proxy' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Proxy.php',
     163        'Requests_Proxy_HTTP' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Proxy/HTTP.php',
     164        'Requests_Response' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Response.php',
     165        'Requests_Response_Headers' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Response/Headers.php',
     166        'Requests_SSL' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/SSL.php',
     167        'Requests_Session' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Session.php',
     168        'Requests_Transport' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Transport.php',
     169        'Requests_Transport_cURL' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Transport/cURL.php',
     170        'Requests_Transport_fsockopen' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Transport/fsockopen.php',
     171        'Requests_Utility_CaseInsensitiveDictionary' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Utility/CaseInsensitiveDictionary.php',
     172        'Requests_Utility_FilteredIterator' => __DIR__ . '/../../..' . '/src/wp-includes/Requests/Utility/FilteredIterator.php',
     173        'SMTP' => __DIR__ . '/../../..' . '/src/wp-includes/class-smtp.php',
     174        'Services_JSON' => __DIR__ . '/../../..' . '/src/wp-includes/class-json.php',
     175        'Services_JSON_Error' => __DIR__ . '/../../..' . '/src/wp-includes/class-json.php',
     176        'SimplePie' => __DIR__ . '/../../..' . '/src/wp-includes/class-simplepie.php',
     177        'SimplePie_Author' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Author.php',
     178        'SimplePie_Cache' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Cache.php',
     179        'SimplePie_Cache_Base' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Cache/Base.php',
     180        'SimplePie_Cache_DB' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Cache/DB.php',
     181        'SimplePie_Cache_File' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Cache/File.php',
     182        'SimplePie_Cache_Memcache' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Cache/Memcache.php',
     183        'SimplePie_Cache_MySQL' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Cache/MySQL.php',
     184        'SimplePie_Caption' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Caption.php',
     185        'SimplePie_Category' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Category.php',
     186        'SimplePie_Content_Type_Sniffer' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Content/Type/Sniffer.php',
     187        'SimplePie_Copyright' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Copyright.php',
     188        'SimplePie_Core' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Core.php',
     189        'SimplePie_Credit' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Credit.php',
     190        'SimplePie_Decode_HTML_Entities' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Decode/HTML/Entities.php',
     191        'SimplePie_Enclosure' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Enclosure.php',
     192        'SimplePie_Exception' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Exception.php',
     193        'SimplePie_File' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/File.php',
     194        'SimplePie_HTTP_Parser' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/HTTP/Parser.php',
     195        'SimplePie_IRI' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/IRI.php',
     196        'SimplePie_Item' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Item.php',
     197        'SimplePie_Locator' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Locator.php',
     198        'SimplePie_Misc' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Misc.php',
     199        'SimplePie_Net_IPv6' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Net/IPv6.php',
     200        'SimplePie_Parse_Date' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Parse/Date.php',
     201        'SimplePie_Parser' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Parser.php',
     202        'SimplePie_Rating' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Rating.php',
     203        'SimplePie_Registry' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Registry.php',
     204        'SimplePie_Restriction' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Restriction.php',
     205        'SimplePie_Sanitize' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Sanitize.php',
     206        'SimplePie_Source' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/Source.php',
     207        'SimplePie_XML_Declaration_Parser' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/XML/Declaration/Parser.php',
     208        'SimplePie_gzdecode' => __DIR__ . '/../../..' . '/src/wp-includes/SimplePie/gzdecode.php',
     209        'Snoopy' => __DIR__ . '/../../..' . '/src/wp-includes/class-snoopy.php',
     210        'Text_Diff' => __DIR__ . '/../../..' . '/src/wp-includes/Text/Diff.php',
     211        'Text_Diff_Engine_native' => __DIR__ . '/../../..' . '/src/wp-includes/Text/Diff/Engine/native.php',
     212        'Text_Diff_Engine_shell' => __DIR__ . '/../../..' . '/src/wp-includes/Text/Diff/Engine/shell.php',
     213        'Text_Diff_Engine_string' => __DIR__ . '/../../..' . '/src/wp-includes/Text/Diff/Engine/string.php',
     214        'Text_Diff_Engine_xdiff' => __DIR__ . '/../../..' . '/src/wp-includes/Text/Diff/Engine/xdiff.php',
     215        'Text_Diff_Op' => __DIR__ . '/../../..' . '/src/wp-includes/Text/Diff.php',
     216        'Text_Diff_Op_add' => __DIR__ . '/../../..' . '/src/wp-includes/Text/Diff.php',
     217        'Text_Diff_Op_change' => __DIR__ . '/../../..' . '/src/wp-includes/Text/Diff.php',
     218        'Text_Diff_Op_copy' => __DIR__ . '/../../..' . '/src/wp-includes/Text/Diff.php',
     219        'Text_Diff_Op_delete' => __DIR__ . '/../../..' . '/src/wp-includes/Text/Diff.php',
     220        'Text_Diff_Renderer' => __DIR__ . '/../../..' . '/src/wp-includes/Text/Diff/Renderer.php',
     221        'Text_Diff_Renderer_inline' => __DIR__ . '/../../..' . '/src/wp-includes/Text/Diff/Renderer/inline.php',
     222        'Text_MappedDiff' => __DIR__ . '/../../..' . '/src/wp-includes/Text/Diff.php',
     223        'Theme_Installer_Skin' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-theme-installer-skin.php',
     224        'Theme_Upgrader' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-theme-upgrader.php',
     225        'Theme_Upgrader_Skin' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-theme-upgrader-skin.php',
     226        'Translation_Entry' => __DIR__ . '/../../..' . '/src/wp-includes/pomo/entry.php',
     227        'Translations' => __DIR__ . '/../../..' . '/src/wp-includes/pomo/translations.php',
     228        'TypeError' => __DIR__ . '/../../..' . '/src/wp-includes/random_compat/error_polyfill.php',
     229        'WP' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp.php',
     230        'WP_Admin_Bar' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-admin-bar.php',
     231        'WP_Ajax_Response' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-ajax-response.php',
     232        'WP_Ajax_Upgrader_Skin' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-ajax-upgrader-skin.php',
     233        'WP_Automatic_Updater' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-automatic-updater.php',
     234        'WP_Comment' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-comment.php',
     235        'WP_Comment_Query' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-comment-query.php',
     236        'WP_Comments_List_Table' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-comments-list-table.php',
     237        'WP_Customize_Background_Image_Control' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-background-image-control.php',
     238        'WP_Customize_Background_Image_Setting' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-background-image-setting.php',
     239        'WP_Customize_Color_Control' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-color-control.php',
     240        'WP_Customize_Control' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-customize-control.php',
     241        'WP_Customize_Cropped_Image_Control' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-cropped-image-control.php',
     242        'WP_Customize_Filter_Setting' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-filter-setting.php',
     243        'WP_Customize_Header_Image_Control' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-header-image-control.php',
     244        'WP_Customize_Header_Image_Setting' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-header-image-setting.php',
     245        'WP_Customize_Image_Control' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-image-control.php',
     246        'WP_Customize_Manager' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-customize-manager.php',
     247        'WP_Customize_Media_Control' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-media-control.php',
     248        'WP_Customize_Nav_Menu_Auto_Add_Control' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-nav-menu-auto-add-control.php',
     249        'WP_Customize_Nav_Menu_Control' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-nav-menu-control.php',
     250        'WP_Customize_Nav_Menu_Item_Control' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-nav-menu-item-control.php',
     251        'WP_Customize_Nav_Menu_Item_Setting' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-nav-menu-item-setting.php',
     252        'WP_Customize_Nav_Menu_Location_Control' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-nav-menu-location-control.php',
     253        'WP_Customize_Nav_Menu_Name_Control' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-nav-menu-name-control.php',
     254        'WP_Customize_Nav_Menu_Section' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-nav-menu-section.php',
     255        'WP_Customize_Nav_Menu_Setting' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-nav-menu-setting.php',
     256        'WP_Customize_Nav_Menus' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-customize-nav-menus.php',
     257        'WP_Customize_Nav_Menus_Panel' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-nav-menus-panel.php',
     258        'WP_Customize_New_Menu_Control' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-new-menu-control.php',
     259        'WP_Customize_New_Menu_Section' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-new-menu-section.php',
     260        'WP_Customize_Panel' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-customize-panel.php',
     261        'WP_Customize_Partial' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-partial.php',
     262        'WP_Customize_Section' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-customize-section.php',
     263        'WP_Customize_Selective_Refresh' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-selective-refresh.php',
     264        'WP_Customize_Setting' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-customize-setting.php',
     265        'WP_Customize_Sidebar_Section' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-sidebar-section.php',
     266        'WP_Customize_Site_Icon_Control' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-site-icon-control.php',
     267        'WP_Customize_Theme_Control' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-theme-control.php',
     268        'WP_Customize_Themes_Section' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-themes-section.php',
     269        'WP_Customize_Upload_Control' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-customize-upload-control.php',
     270        'WP_Customize_Widgets' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-customize-widgets.php',
     271        'WP_Date_Query' => __DIR__ . '/../../..' . '/src/wp-includes/date.php',
     272        'WP_Dependencies' => __DIR__ . '/../../..' . '/src/wp-includes/class.wp-dependencies.php',
     273        'WP_Embed' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-embed.php',
     274        'WP_Error' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-error.php',
     275        'WP_Feed_Cache' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-feed-cache.php',
     276        'WP_Feed_Cache_Transient' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-feed-cache-transient.php',
     277        'WP_Filesystem_Base' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-filesystem-base.php',
     278        'WP_Filesystem_Direct' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-filesystem-direct.php',
     279        'WP_Filesystem_FTPext' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-filesystem-ftpext.php',
     280        'WP_Filesystem_SSH2' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-filesystem-ssh2.php',
     281        'WP_Filesystem_ftpsockets' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-filesystem-ftpsockets.php',
     282        'WP_HTTP_Fsockopen' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-http-streams.php',
     283        'WP_HTTP_IXR_Client' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-http-ixr-client.php',
     284        'WP_HTTP_Proxy' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-http-proxy.php',
     285        'WP_HTTP_Requests_Response' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-http-requests-response.php',
     286        'WP_HTTP_Response' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-http-response.php',
     287        'WP_Http' => __DIR__ . '/../../..' . '/src/wp-includes/class-http.php',
     288        'WP_Http_Cookie' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-http-cookie.php',
     289        'WP_Http_Curl' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-http-curl.php',
     290        'WP_Http_Encoding' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-http-encoding.php',
     291        'WP_Http_Streams' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-http-streams.php',
     292        'WP_Image_Editor' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-image-editor.php',
     293        'WP_Image_Editor_GD' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-image-editor-gd.php',
     294        'WP_Image_Editor_Imagick' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-image-editor-imagick.php',
     295        'WP_Importer' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-importer.php',
     296        'WP_Internal_Pointers' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-internal-pointers.php',
     297        'WP_Links_List_Table' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-links-list-table.php',
     298        'WP_List_Table' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-list-table.php',
     299        'WP_Locale' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-locale.php',
     300        'WP_MS_Sites_List_Table' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-ms-sites-list-table.php',
     301        'WP_MS_Themes_List_Table' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-ms-themes-list-table.php',
     302        'WP_MS_Users_List_Table' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-ms-users-list-table.php',
     303        'WP_MatchesMapRegex' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp.php',
     304        'WP_Media_List_Table' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-media-list-table.php',
     305        'WP_Meta_Query' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-meta-query.php',
     306        'WP_Metadata_Lazyloader' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-metadata-lazyloader.php',
     307        'WP_Nav_Menu_Widget' => __DIR__ . '/../../..' . '/src/wp-includes/widgets/class-wp-nav-menu-widget.php',
     308        'WP_Network' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-network.php',
     309        'WP_Network_Query' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-network-query.php',
     310        'WP_Object_Cache' => __DIR__ . '/../../..' . '/src/wp-includes/cache.php',
     311        'WP_Plugin_Install_List_Table' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-plugin-install-list-table.php',
     312        'WP_Plugins_List_Table' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-plugins-list-table.php',
     313        'WP_Post' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-post.php',
     314        'WP_Post_Comments_List_Table' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-post-comments-list-table.php',
     315        'WP_Post_Type' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-post-type.php',
     316        'WP_Posts_List_Table' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-posts-list-table.php',
     317        'WP_Press_This' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-press-this.php',
     318        'WP_Query' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-query.php',
     319        'WP_REST_Request' => __DIR__ . '/../../..' . '/src/wp-includes/rest-api/class-wp-rest-request.php',
     320        'WP_REST_Response' => __DIR__ . '/../../..' . '/src/wp-includes/rest-api/class-wp-rest-response.php',
     321        'WP_REST_Server' => __DIR__ . '/../../..' . '/src/wp-includes/rest-api/class-wp-rest-server.php',
     322        'WP_Rewrite' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-rewrite.php',
     323        'WP_Role' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-role.php',
     324        'WP_Roles' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-roles.php',
     325        'WP_Screen' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-screen.php',
     326        'WP_Scripts' => __DIR__ . '/../../..' . '/src/wp-includes/class.wp-scripts.php',
     327        'WP_Session_Tokens' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-session-tokens.php',
     328        'WP_SimplePie_File' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-simplepie-file.php',
     329        'WP_SimplePie_Sanitize_KSES' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-simplepie-sanitize-kses.php',
     330        'WP_Site' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-site.php',
     331        'WP_Site_Icon' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-site-icon.php',
     332        'WP_Site_Query' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-site-query.php',
     333        'WP_Styles' => __DIR__ . '/../../..' . '/src/wp-includes/class.wp-styles.php',
     334        'WP_Tax_Query' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-tax-query.php',
     335        'WP_Term' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-term.php',
     336        'WP_Term_Query' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-term-query.php',
     337        'WP_Terms_List_Table' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-terms-list-table.php',
     338        'WP_Text_Diff_Renderer_Table' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-text-diff-renderer-table.php',
     339        'WP_Text_Diff_Renderer_inline' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-text-diff-renderer-inline.php',
     340        'WP_Theme' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-theme.php',
     341        'WP_Theme_Install_List_Table' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-theme-install-list-table.php',
     342        'WP_Themes_List_Table' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-themes-list-table.php',
     343        'WP_Upgrader' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-upgrader.php',
     344        'WP_Upgrader_Skin' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-upgrader-skin.php',
     345        'WP_User' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-user.php',
     346        'WP_User_Meta_Session_Tokens' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-user-meta-session-tokens.php',
     347        'WP_User_Query' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-user-query.php',
     348        'WP_User_Search' => __DIR__ . '/../../..' . '/src/wp-admin/includes/deprecated.php',
     349        'WP_Users_List_Table' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-wp-users-list-table.php',
     350        'WP_Widget' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-widget.php',
     351        'WP_Widget_Archives' => __DIR__ . '/../../..' . '/src/wp-includes/widgets/class-wp-widget-archives.php',
     352        'WP_Widget_Area_Customize_Control' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-widget-area-customize-control.php',
     353        'WP_Widget_Calendar' => __DIR__ . '/../../..' . '/src/wp-includes/widgets/class-wp-widget-calendar.php',
     354        'WP_Widget_Categories' => __DIR__ . '/../../..' . '/src/wp-includes/widgets/class-wp-widget-categories.php',
     355        'WP_Widget_Factory' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-widget-factory.php',
     356        'WP_Widget_Form_Customize_Control' => __DIR__ . '/../../..' . '/src/wp-includes/customize/class-wp-widget-form-customize-control.php',
     357        'WP_Widget_Links' => __DIR__ . '/../../..' . '/src/wp-includes/widgets/class-wp-widget-links.php',
     358        'WP_Widget_Meta' => __DIR__ . '/../../..' . '/src/wp-includes/widgets/class-wp-widget-meta.php',
     359        'WP_Widget_Pages' => __DIR__ . '/../../..' . '/src/wp-includes/widgets/class-wp-widget-pages.php',
     360        'WP_Widget_RSS' => __DIR__ . '/../../..' . '/src/wp-includes/widgets/class-wp-widget-rss.php',
     361        'WP_Widget_Recent_Comments' => __DIR__ . '/../../..' . '/src/wp-includes/widgets/class-wp-widget-recent-comments.php',
     362        'WP_Widget_Recent_Posts' => __DIR__ . '/../../..' . '/src/wp-includes/widgets/class-wp-widget-recent-posts.php',
     363        'WP_Widget_Search' => __DIR__ . '/../../..' . '/src/wp-includes/widgets/class-wp-widget-search.php',
     364        'WP_Widget_Tag_Cloud' => __DIR__ . '/../../..' . '/src/wp-includes/widgets/class-wp-widget-tag-cloud.php',
     365        'WP_Widget_Text' => __DIR__ . '/../../..' . '/src/wp-includes/widgets/class-wp-widget-text.php',
     366        'WP_oEmbed' => __DIR__ . '/../../..' . '/src/wp-includes/class-oembed.php',
     367        'WP_oEmbed_Controller' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-oembed-controller.php',
     368        'Walker' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-walker.php',
     369        'Walker_Category' => __DIR__ . '/../../..' . '/src/wp-includes/class-walker-category.php',
     370        'Walker_CategoryDropdown' => __DIR__ . '/../../..' . '/src/wp-includes/class-walker-category-dropdown.php',
     371        'Walker_Category_Checklist' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-walker-category-checklist.php',
     372        'Walker_Comment' => __DIR__ . '/../../..' . '/src/wp-includes/class-walker-comment.php',
     373        'Walker_Nav_Menu' => __DIR__ . '/../../..' . '/src/wp-includes/class-walker-nav-menu.php',
     374        'Walker_Nav_Menu_Checklist' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-walker-nav-menu-checklist.php',
     375        'Walker_Nav_Menu_Edit' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-walker-nav-menu-edit.php',
     376        'Walker_Page' => __DIR__ . '/../../..' . '/src/wp-includes/class-walker-page.php',
     377        'Walker_PageDropdown' => __DIR__ . '/../../..' . '/src/wp-includes/class-walker-page-dropdown.php',
     378        '_WP_Dependency' => __DIR__ . '/../../..' . '/src/wp-includes/class.wp-dependencies.php',
     379        '_WP_Editors' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-editor.php',
     380        '_WP_List_Table_Compat' => __DIR__ . '/../../..' . '/src/wp-admin/includes/list-table.php',
     381        'ftp' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-ftp-pure.php',
     382        'ftp_base' => __DIR__ . '/../../..' . '/src/wp-admin/includes/class-ftp.php',
     383        'getID3' => __DIR__ . '/../../..' . '/src/wp-includes/ID3/getid3.php',
     384        'getid3_ac3' => __DIR__ . '/../../..' . '/src/wp-includes/ID3/module.audio.ac3.php',
     385        'getid3_apetag' => __DIR__ . '/../../..' . '/src/wp-includes/ID3/module.tag.apetag.php',
     386        'getid3_asf' => __DIR__ . '/../../..' . '/src/wp-includes/ID3/module.audio-video.asf.php',
     387        'getid3_dts' => __DIR__ . '/../../..' . '/src/wp-includes/ID3/module.audio.dts.php',
     388        'getid3_exception' => __DIR__ . '/../../..' . '/src/wp-includes/ID3/getid3.php',
     389        'getid3_flac' => __DIR__ . '/../../..' . '/src/wp-includes/ID3/module.audio.flac.php',
     390        'getid3_flv' => __DIR__ . '/../../..' . '/src/wp-includes/ID3/module.audio-video.flv.php',
     391        'getid3_handler' => __DIR__ . '/../../..' . '/src/wp-includes/ID3/getid3.php',
     392        'getid3_id3v1' => __DIR__ . '/../../..' . '/src/wp-includes/ID3/module.tag.id3v1.php',
     393        'getid3_id3v2' => __DIR__ . '/../../..' . '/src/wp-includes/ID3/module.tag.id3v2.php',
     394        'getid3_lib' => __DIR__ . '/../../..' . '/src/wp-includes/ID3/getid3.lib.php',
     395        'getid3_lyrics3' => __DIR__ . '/../../..' . '/src/wp-includes/ID3/module.tag.lyrics3.php',
     396        'getid3_matroska' => __DIR__ . '/../../..' . '/src/wp-includes/ID3/module.audio-video.matroska.php',
     397        'getid3_mp3' => __DIR__ . '/../../..' . '/src/wp-includes/ID3/module.audio.mp3.php',
     398        'getid3_ogg' => __DIR__ . '/../../..' . '/src/wp-includes/ID3/module.audio.ogg.php',
     399        'getid3_quicktime' => __DIR__ . '/../../..' . '/src/wp-includes/ID3/module.audio-video.quicktime.php',
     400        'getid3_riff' => __DIR__ . '/../../..' . '/src/wp-includes/ID3/module.audio-video.riff.php',
     401        'phpmailerException' => __DIR__ . '/../../..' . '/src/wp-includes/class-phpmailer.php',
     402        'wp_atom_server' => __DIR__ . '/../../..' . '/src/wp-includes/pluggable-deprecated.php',
     403        'wp_xmlrpc_server' => __DIR__ . '/../../..' . '/src/wp-includes/class-wp-xmlrpc-server.php',
     404        'wpdb' => __DIR__ . '/../../..' . '/src/wp-includes/wp-db.php',
     405    );
     406
     407    public static function getInitializer(ClassLoader $loader)
     408    {
     409        return \Closure::bind(function () use ($loader) {
     410            $loader->prefixesPsr0 = ComposerStaticInit5f802e6773748e86f907e3d9bc7d98de::$prefixesPsr0;
     411            $loader->classMap = ComposerStaticInit5f802e6773748e86f907e3d9bc7d98de::$classMap;
     412
     413        }, null, ClassLoader::class);
     414    }
     415}
  • src/vendor/composer/installed.json

     
     1[
     2    {
     3        "name": "xrstf/composer-php52",
     4        "version": "v1.0.20",
     5        "version_normalized": "1.0.20.0",
     6        "source": {
     7            "type": "git",
     8            "url": "https://github.com/composer-php52/composer-php52.git",
     9            "reference": "bd41459d5e27df8d33057842b32377c39e97a5a8"
     10        },
     11        "dist": {
     12            "type": "zip",
     13            "url": "https://api.github.com/repos/composer-php52/composer-php52/zipball/bd41459d5e27df8d33057842b32377c39e97a5a8",
     14            "reference": "bd41459d5e27df8d33057842b32377c39e97a5a8",
     15            "shasum": ""
     16        },
     17        "time": "2016-04-16 21:52:24",
     18        "type": "library",
     19        "extra": {
     20            "branch-alias": {
     21                "dev-default": "1.x-dev"
     22            }
     23        },
     24        "installation-source": "dist",
     25        "autoload": {
     26            "psr-0": {
     27                "xrstf\\Composer52": "lib/"
     28            }
     29        },
     30        "notification-url": "https://packagist.org/downloads/",
     31        "license": [
     32            "MIT"
     33        ]
     34    }
     35]
  • src/vendor/xrstf/composer-php52/LICENSE

     
     1Copyright (c) 2013 Christoph Mewes
     2
     3Permission is hereby granted, free of charge, to any person obtaining a copy
     4of this software and associated documentation files (the "Software"), to deal
     5in the Software without restriction, including without limitation the rights
     6to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
     7copies of the Software, and to permit persons to whom the Software is furnished
     8to do so, subject to the following conditions:
     9
     10The above copyright notice and this permission notice shall be included in all
     11copies or substantial portions of the Software.
     12
     13THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
     14IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
     15FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
     16AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
     17LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
     18OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
     19THE SOFTWARE.
  • src/vendor/xrstf/composer-php52/README.md

     
     1PHP 5.2 Autoloading for Composer
     2================================
     3
     4This package provides an easy way to get a PHP 5.2 compatible autoloader out of Composer. The generated autoloader is fully compatible to the original and is written into separate files, each ending with `_52.php`.
     5
     6Legacy
     7------
     8
     9Please do not use this, if you can avoid it. It's a horrible hack, often breaks and is extremely tied to Composer's interna. This package was originally developed in 2012, when PHP 5.2 was much more common on cheap webhosts.
     10
     11In 2016, this package has been moved from Bitbucket to a Github organization, because the original developer could no longer reliably maintain it. This is the reason for this legacy package name ``xrstf/...``.
     12
     13Usage
     14-----
     15
     16In your project's `composer.json`, add the following lines:
     17
     18```json
     19{
     20    "require": {
     21        "xrstf/composer-php52": "1.*"
     22    },
     23    "scripts": {
     24        "post-install-cmd": [
     25            "xrstf\\Composer52\\Generator::onPostInstallCmd"
     26        ],
     27        "post-update-cmd": [
     28            "xrstf\\Composer52\\Generator::onPostInstallCmd"
     29        ],
     30        "post-autoload-dump": [
     31            "xrstf\\Composer52\\Generator::onPostInstallCmd"
     32        ]
     33    }
     34}
     35```
     36
     37After the next update/install, you will have a `vendor/autoload_52.php` file, that you can simply include and use in PHP 5.2 projects.
  • src/vendor/xrstf/composer-php52/composer.json

     
     1{
     2    "name": "xrstf/composer-php52",
     3    "license": "MIT",
     4    "support": {
     5        "source": "https://github.com/composer-php52/composer-php52",
     6        "issues": "https://github.com/composer-php52/composer-php52/issues"
     7    },
     8    "autoload": {
     9        "psr-0": {
     10            "xrstf\\Composer52": "lib/"
     11        }
     12    },
     13    "scripts": {
     14        "post-install-cmd": [
     15            "xrstf\\Composer52\\Generator::onPostInstallCmd"
     16        ],
     17        "post-update-cmd": [
     18            "xrstf\\Composer52\\Generator::onPostInstallCmd"
     19        ]
     20    },
     21    "extra": {
     22        "branch-alias": {
     23            "dev-default": "1.x-dev"
     24        }
     25    }
     26}
  • src/vendor/xrstf/composer-php52/lib/xrstf/Composer52/AutoloadGenerator.php

     
     1<?php
     2/*
     3 * Copyright (c) 2013, Christoph Mewes, http://www.xrstf.de
     4 *
     5 * This file is released under the terms of the MIT license. You can find the
     6 * complete text in the attached LICENSE file or online at:
     7 *
     8 * http://www.opensource.org/licenses/mit-license.php
     9 *
     10 * --------------------------------------------------------------------------
     11 *
     12 * 99% of this is copied as-is from the original Composer source code and is
     13 * released under MIT license as well. Copyright goes to:
     14 *
     15 * - Igor Wiedler <igor@wiedler.ch>
     16 * - Jordi Boggiano <j.boggiano@seld.be>
     17 */
     18
     19namespace xrstf\Composer52;
     20
     21use Composer\Autoload\AutoloadGenerator as BaseGenerator;
     22use Composer\Autoload\ClassMapGenerator;
     23use Composer\Config;
     24use Composer\Installer\InstallationManager;
     25use Composer\Package\AliasPackage;
     26use Composer\Package\PackageInterface;
     27use Composer\Repository\InstalledRepositoryInterface;
     28use Composer\Util\Filesystem;
     29
     30class AutoloadGenerator extends BaseGenerator {
     31
     32        /**
     33         * @var bool
     34         */
     35        private $classMapAuthoritative = false;
     36
     37        public function __construct() {
     38                // do nothing (but keep this constructor so we can build an instance without the need for an event dispatcher)
     39        }
     40
     41        /**
     42         * Whether or not generated autoloader considers the class map
     43         * authoritative.
     44         *
     45         * @param bool $classMapAuthoritative
     46         */
     47        public function setClassMapAuthoritative($classMapAuthoritative)
     48        {
     49                $this->classMapAuthoritative = (boolean) $classMapAuthoritative;
     50        }
     51
     52        public function dump(Config $config, InstalledRepositoryInterface $localRepo, PackageInterface $mainPackage, InstallationManager $installationManager, $targetDir, $scanPsr0Packages = false, $suffix = '') {
     53                if ($this->classMapAuthoritative) {
     54                        // Force scanPsr0Packages when classmap is authoritative
     55                        $scanPsr0Packages = true;
     56                }
     57
     58                $filesystem = new Filesystem();
     59                $filesystem->ensureDirectoryExists($config->get('vendor-dir'));
     60
     61                $cwd        = getcwd();
     62                $basePath   = $filesystem->normalizePath($cwd);
     63                $vendorPath = $filesystem->normalizePath(realpath($config->get('vendor-dir')));
     64                $targetDir  = $vendorPath.'/'.$targetDir;
     65                $filesystem->ensureDirectoryExists($targetDir);
     66
     67                $useGlobalIncludePath  = (bool) $config->get('use-include-path');
     68                $prependAutoloader     = $config->get('prepend-autoloader') === false ? 'false' : 'true';
     69                $classMapAuthoritative = $config->get('classmap-authoritative');
     70
     71                $vendorPathCode            = $filesystem->findShortestPathCode(realpath($targetDir), $vendorPath, true);
     72                $vendorPathToTargetDirCode = $filesystem->findShortestPathCode($vendorPath, realpath($targetDir), true);
     73
     74                $appBaseDirCode = $filesystem->findShortestPathCode($vendorPath, $basePath, true);
     75                $appBaseDirCode = str_replace('__DIR__', '$vendorDir', $appBaseDirCode);
     76
     77                // add 5.2 compat
     78                $vendorPathCode            = str_replace('__DIR__', 'dirname(__FILE__)', $vendorPathCode);
     79                $vendorPathToTargetDirCode = str_replace('__DIR__', 'dirname(__FILE__)', $vendorPathToTargetDirCode);
     80
     81                $packageMap = $this->buildPackageMap($installationManager, $mainPackage, $localRepo->getCanonicalPackages());
     82                $autoloads = $this->parseAutoloads($packageMap, $mainPackage);
     83
     84                // add custom psr-0 autoloading if the root package has a target dir
     85                $targetDirLoader = null;
     86                $mainAutoload = $mainPackage->getAutoload();
     87                if ($mainPackage->getTargetDir() && !empty($mainAutoload['psr-0'])) {
     88                        $levels   = count(explode('/', $filesystem->normalizePath($mainPackage->getTargetDir())));
     89                        $prefixes = implode(', ', array_map(function ($prefix) {
     90                                return var_export($prefix, true);
     91                        }, array_keys($mainAutoload['psr-0'])));
     92
     93                        $baseDirFromTargetDirCode = $filesystem->findShortestPathCode($targetDir, $basePath, true);
     94
     95                        $targetDirLoader = <<<EOF
     96
     97        public static function autoload(\$class) {
     98                \$dir      = $baseDirFromTargetDirCode.'/';
     99                \$prefixes = array($prefixes);
     100
     101                foreach (\$prefixes as \$prefix) {
     102                        if (0 !== strpos(\$class, \$prefix)) {
     103                                continue;
     104                        }
     105
     106                        \$path = explode(DIRECTORY_SEPARATOR, self::getClassPath(\$class));
     107                        \$path = \$dir.implode('/', array_slice(\$path, $levels));
     108
     109                        if (!\$path = self::resolveIncludePath(\$path)) {
     110                                return false;
     111                        }
     112
     113                        require \$path;
     114                        return true;
     115                }
     116        }
     117
     118EOF;
     119                }
     120
     121                $filesCode = "";
     122                $autoloads['files'] = new \RecursiveIteratorIterator(new \RecursiveArrayIterator($autoloads['files']));
     123                foreach ($autoloads['files'] as $functionFile) {
     124                        // don't include file if it is using PHP 5.3+ syntax
     125                        // https://bitbucket.org/xrstf/composer-php52/issue/4
     126                        if ($this->isPHP53($functionFile)) {
     127                                $filesCode .= '//               require '.$this->getPathCode($filesystem, $basePath, $vendorPath, $functionFile)."; // disabled because of PHP 5.3 syntax\n";
     128                        }
     129                        else {
     130                                $filesCode .= '         require '.$this->getPathCode($filesystem, $basePath, $vendorPath, $functionFile).";\n";
     131                        }
     132                }
     133
     134                if (!$suffix) {
     135                        $suffix = md5(uniqid('', true));
     136                }
     137
     138                $includePathFile = $this->getIncludePathsFile($packageMap, $filesystem, $basePath, $vendorPath, $vendorPathCode, $appBaseDirCode);
     139
     140                file_put_contents($vendorPath.'/autoload_52.php', $this->getAutoloadFile($vendorPathToTargetDirCode, $suffix));
     141                file_put_contents($targetDir.'/autoload_real_52.php', $this->getAutoloadRealFile(true, (bool) $includePathFile, $targetDirLoader, $filesCode, $vendorPathCode, $appBaseDirCode, $suffix, $useGlobalIncludePath, $prependAutoloader));
     142
     143                // use stream_copy_to_stream instead of copy
     144                // to work around https://bugs.php.net/bug.php?id=64634
     145                $sourceLoader = fopen(__DIR__.'/ClassLoader.php', 'r');
     146                $targetLoader = fopen($targetDir.'/ClassLoader52.php', 'w+');
     147                stream_copy_to_stream($sourceLoader, $targetLoader);
     148                fclose($sourceLoader);
     149                fclose($targetLoader);
     150                unset($sourceLoader, $targetLoader);
     151        }
     152
     153        protected function isPHP53($file) {
     154                $tokens = token_get_all(file_get_contents($file));
     155                $php53  = array(T_DIR, T_GOTO, T_NAMESPACE, T_NS_C, T_NS_SEPARATOR, T_USE);
     156
     157                // PHP 5.4+
     158                if (defined('T_TRAIT')) {
     159                        $php53[] = T_TRAIT;
     160                        $php53[] = T_TRAIT_C;
     161                        $php53[] = T_TRAIT_C;
     162                }
     163
     164                // PHP 5.5+
     165                if (defined('T_FINALLY')) {
     166                        $php53[] = T_FINALLY;
     167                        $php53[] = T_YIELD;
     168                }
     169
     170                foreach ($tokens as $token) {
     171                        if (is_array($token) && in_array($token[0], $php53)) {
     172                                return true;
     173                        }
     174                }
     175
     176                return false;
     177        }
     178
     179        protected function getIncludePathsFile(array $packageMap, Filesystem $filesystem, $basePath, $vendorPath, $vendorPathCode, $appBaseDirCode) {
     180                $includePaths = array();
     181
     182                foreach ($packageMap as $item) {
     183                        list($package, $installPath) = $item;
     184
     185                        if (null !== $package->getTargetDir() && strlen($package->getTargetDir()) > 0) {
     186                                $installPath = substr($installPath, 0, -strlen('/'.$package->getTargetDir()));
     187                        }
     188
     189                        foreach ($package->getIncludePaths() as $includePath) {
     190                                $includePath = trim($includePath, '/');
     191                                $includePaths[] = empty($installPath) ? $includePath : $installPath.'/'.$includePath;
     192                        }
     193                }
     194
     195                if (!$includePaths) {
     196                        return;
     197                }
     198
     199                $includePathsFile = <<<EOF
     200<?php
     201
     202// include_paths_52.php generated by xrstf/composer-php52
     203
     204\$vendorDir = $vendorPathCode;
     205\$baseDir = $appBaseDirCode;
     206
     207return array(
     208
     209EOF;
     210
     211                foreach ($includePaths as $path) {
     212                        $includePathsFile .= "\t" . $this->getPathCode($filesystem, $basePath, $vendorPath, $path) . ",\n";
     213                }
     214
     215                return $includePathsFile . ");\n";
     216        }
     217
     218        protected function getAutoloadFile($vendorPathToTargetDirCode, $suffix) {
     219                return <<<AUTOLOAD
     220<?php
     221
     222// autoload_52.php generated by xrstf/composer-php52
     223
     224require_once $vendorPathToTargetDirCode.'/autoload_real_52.php';
     225
     226return ComposerAutoloaderInit$suffix::getLoader();
     227
     228AUTOLOAD;
     229        }
     230
     231        protected function getAutoloadRealFile($useClassMap, $useIncludePath, $targetDirLoader, $filesCode, $vendorPathCode, $appBaseDirCode, $suffix, $useGlobalIncludePath, $prependAutoloader, $staticPhpVersion = 70000) {
     232                // TODO the class ComposerAutoloaderInit should be revert to a closure
     233                // when APC has been fixed:
     234                // - https://github.com/composer/composer/issues/959
     235                // - https://bugs.php.net/bug.php?id=52144
     236                // - https://bugs.php.net/bug.php?id=61576
     237                // - https://bugs.php.net/bug.php?id=59298
     238
     239                if ($filesCode) {
     240                                $filesCode = "\n\n".rtrim($filesCode);
     241                }
     242
     243                $file = <<<HEADER
     244<?php
     245
     246// autoload_real_52.php generated by xrstf/composer-php52
     247
     248class ComposerAutoloaderInit$suffix {
     249        private static \$loader;
     250
     251        public static function loadClassLoader(\$class) {
     252                if ('xrstf_Composer52_ClassLoader' === \$class) {
     253                        require dirname(__FILE__).'/ClassLoader52.php';
     254                }
     255        }
     256
     257        /**
     258         * @return xrstf_Composer52_ClassLoader
     259         */
     260        public static function getLoader() {
     261                if (null !== self::\$loader) {
     262                        return self::\$loader;
     263                }
     264
     265                spl_autoload_register(array('ComposerAutoloaderInit$suffix', 'loadClassLoader'), true /*, true */);
     266                self::\$loader = \$loader = new xrstf_Composer52_ClassLoader();
     267                spl_autoload_unregister(array('ComposerAutoloaderInit$suffix', 'loadClassLoader'));
     268
     269                \$vendorDir = $vendorPathCode;
     270                \$baseDir   = $appBaseDirCode;
     271                \$dir       = dirname(__FILE__);
     272
     273
     274HEADER;
     275
     276                if ($useIncludePath) {
     277                        $file .= <<<'INCLUDE_PATH'
     278                $includePaths = require $dir.'/include_paths.php';
     279                array_push($includePaths, get_include_path());
     280                set_include_path(implode(PATH_SEPARATOR, $includePaths));
     281
     282
     283INCLUDE_PATH;
     284                }
     285
     286                $file .= <<<'PSR0'
     287                $map = require $dir.'/autoload_namespaces.php';
     288                foreach ($map as $namespace => $path) {
     289                        $loader->add($namespace, $path);
     290                }
     291
     292
     293PSR0;
     294
     295                if ($useClassMap) {
     296                        $file .= <<<'CLASSMAP'
     297                $classMap = require $dir.'/autoload_classmap.php';
     298                if ($classMap) {
     299                        $loader->addClassMap($classMap);
     300                }
     301
     302
     303CLASSMAP;
     304                }
     305
     306                if ($this->classMapAuthoritative) {
     307                        $file .= <<<'CLASSMAPAUTHORITATIVE'
     308                $loader->setClassMapAuthoritative(true);
     309
     310CLASSMAPAUTHORITATIVE;
     311                }
     312
     313                if ($useGlobalIncludePath) {
     314                        $file .= <<<'INCLUDEPATH'
     315                $loader->setUseIncludePath(true);
     316
     317
     318INCLUDEPATH;
     319                }
     320
     321                if ($targetDirLoader) {
     322                        $file .= <<<REGISTER_AUTOLOAD
     323                spl_autoload_register(array('ComposerAutoloaderInit$suffix', 'autoload'), true);
     324
     325
     326REGISTER_AUTOLOAD;
     327
     328                }
     329
     330                $file .= <<<METHOD_FOOTER
     331                \$loader->register($prependAutoloader);{$filesCode}
     332
     333                return \$loader;
     334        }
     335
     336METHOD_FOOTER;
     337
     338                $file .= $targetDirLoader;
     339
     340                return $file . <<<FOOTER
     341}
     342
     343FOOTER;
     344
     345        }
     346}
  • src/vendor/xrstf/composer-php52/lib/xrstf/Composer52/ClassLoader.php

     
     1<?php
     2/*
     3 * Copyright (c) 2013, Christoph Mewes, http://www.xrstf.de
     4 *
     5 * This file is released under the terms of the MIT license. You can find the
     6 * complete text in the attached LICENSE file or online at:
     7 *
     8 * http://www.opensource.org/licenses/mit-license.php
     9 *
     10 * --------------------------------------------------------------------------
     11 *
     12 * 99% of this is copied as-is from the original Composer source code and is
     13 * released under MIT license as well. Copyright goes to:
     14 *
     15 * - Fabien Potencier <fabien@symfony.com>
     16 * - Jordi Boggiano <j.boggiano@seld.be>
     17 */
     18
     19class xrstf_Composer52_ClassLoader {
     20        private $prefixes              = array();
     21        private $fallbackDirs          = array();
     22        private $useIncludePath        = false;
     23        private $classMap              = array();
     24        private $classMapAuthoratative = false;
     25        private $allowUnderscore       = false;
     26
     27        /**
     28         * @param boolean $flag  true to allow class names with a leading underscore, false to disable
     29         */
     30        public function setAllowUnderscore($flag) {
     31                $this->allowUnderscore = (boolean) $flag;
     32        }
     33
     34        /**
     35         * @return array
     36         */
     37        public function getPrefixes() {
     38                return $this->prefixes;
     39        }
     40
     41        /**
     42         * Turns off searching the prefix and fallback directories for classes
     43         * that have not been registered with the class map.
     44         *
     45         * @param bool $classMapAuthoratative
     46         */
     47        public function setClassMapAuthoritative($classMapAuthoratative) {
     48                $this->classMapAuthoratative = $classMapAuthoratative;
     49        }
     50
     51        /**
     52         * Should class lookup fail if not found in the current class map?
     53         *
     54         * @return bool
     55         */
     56        public function getClassMapAuthoratative() {
     57                return $this->classMapAuthoratative;
     58        }
     59
     60        /**
     61         * @return array
     62         */
     63        public function getFallbackDirs() {
     64                return $this->fallbackDirs;
     65        }
     66
     67        /**
     68         * @return array
     69         */
     70        public function getClassMap() {
     71                return $this->classMap;
     72        }
     73
     74        /**
     75         * @param array $classMap  class to filename map
     76         */
     77        public function addClassMap(array $classMap) {
     78                if ($this->classMap) {
     79                        $this->classMap = array_merge($this->classMap, $classMap);
     80                }
     81                else {
     82                        $this->classMap = $classMap;
     83                }
     84        }
     85
     86        /**
     87         * Registers a set of classes, merging with any others previously set.
     88         *
     89         * @param string       $prefix   the classes prefix
     90         * @param array|string $paths    the location(s) of the classes
     91         * @param bool         $prepend  prepend the location(s)
     92         */
     93        public function add($prefix, $paths, $prepend = false) {
     94                if (!$prefix) {
     95                        if ($prepend) {
     96                                $this->fallbackDirs = array_merge(
     97                                        (array) $paths,
     98                                        $this->fallbackDirs
     99                                );
     100                        }
     101                        else {
     102                                $this->fallbackDirs = array_merge(
     103                                        $this->fallbackDirs,
     104                                        (array) $paths
     105                                );
     106                        }
     107
     108                        return;
     109                }
     110
     111                if (!isset($this->prefixes[$prefix])) {
     112                        $this->prefixes[$prefix] = (array) $paths;
     113                        return;
     114                }
     115
     116                if ($prepend) {
     117                        $this->prefixes[$prefix] = array_merge(
     118                                (array) $paths,
     119                                $this->prefixes[$prefix]
     120                        );
     121                }
     122                else {
     123                        $this->prefixes[$prefix] = array_merge(
     124                                $this->prefixes[$prefix],
     125                                (array) $paths
     126                        );
     127                }
     128        }
     129
     130        /**
     131         * Registers a set of classes, replacing any others previously set.
     132         *
     133         * @param string       $prefix  the classes prefix
     134         * @param array|string $paths   the location(s) of the classes
     135         */
     136        public function set($prefix, $paths) {
     137                if (!$prefix) {
     138                        $this->fallbackDirs = (array) $paths;
     139                        return;
     140                }
     141
     142                $this->prefixes[$prefix] = (array) $paths;
     143        }
     144
     145        /**
     146         * Turns on searching the include path for class files.
     147         *
     148         * @param bool $useIncludePath
     149         */
     150        public function setUseIncludePath($useIncludePath) {
     151                $this->useIncludePath = $useIncludePath;
     152        }
     153
     154        /**
     155         * Can be used to check if the autoloader uses the include path to check
     156         * for classes.
     157         *
     158         * @return bool
     159         */
     160        public function getUseIncludePath() {
     161                return $this->useIncludePath;
     162        }
     163
     164        /**
     165         * Registers this instance as an autoloader.
     166         */
     167        public function register() {
     168                spl_autoload_register(array($this, 'loadClass'), true);
     169        }
     170
     171        /**
     172         * Unregisters this instance as an autoloader.
     173         */
     174        public function unregister() {
     175                spl_autoload_unregister(array($this, 'loadClass'));
     176        }
     177
     178        /**
     179         * Loads the given class or interface.
     180         *
     181         * @param  string $class  the name of the class
     182         * @return bool|null      true, if loaded
     183         */
     184        public function loadClass($class) {
     185                if ($file = $this->findFile($class)) {
     186                        include $file;
     187                        return true;
     188                }
     189        }
     190
     191        /**
     192         * Finds the path to the file where the class is defined.
     193         *
     194         * @param  string $class  the name of the class
     195         * @return string|null    the path, if found
     196         */
     197        public function findFile($class) {
     198                if ('\\' === $class[0]) {
     199                        $class = substr($class, 1);
     200                }
     201
     202                if (isset($this->classMap[$class])) {
     203                        return $this->classMap[$class];
     204                }
     205                elseif ($this->classMapAuthoratative) {
     206                        return false;
     207                }
     208
     209                $classPath = $this->getClassPath($class);
     210
     211                foreach ($this->prefixes as $prefix => $dirs) {
     212                        if (0 === strpos($class, $prefix)) {
     213                                foreach ($dirs as $dir) {
     214                                        if (file_exists($dir.DIRECTORY_SEPARATOR.$classPath)) {
     215                                                return $dir.DIRECTORY_SEPARATOR.$classPath;
     216                                        }
     217                                }
     218                        }
     219                }
     220
     221                foreach ($this->fallbackDirs as $dir) {
     222                        if (file_exists($dir.DIRECTORY_SEPARATOR.$classPath)) {
     223                                return $dir.DIRECTORY_SEPARATOR.$classPath;
     224                        }
     225                }
     226
     227                if ($this->useIncludePath && $file = self::resolveIncludePath($classPath)) {
     228                        return $file;
     229                }
     230
     231                return $this->classMap[$class] = false;
     232        }
     233
     234        private function getClassPath($class) {
     235                if (false !== $pos = strrpos($class, '\\')) {
     236                        // namespaced class name
     237                        $classPath = str_replace('\\', DIRECTORY_SEPARATOR, substr($class, 0, $pos)).DIRECTORY_SEPARATOR;
     238                        $className = substr($class, $pos + 1);
     239                }
     240                else {
     241                        // PEAR-like class name
     242                        $classPath = null;
     243                        $className = $class;
     244                }
     245
     246                $className = str_replace('_', DIRECTORY_SEPARATOR, $className);
     247
     248                // restore the prefix
     249                if ($this->allowUnderscore && DIRECTORY_SEPARATOR === $className[0]) {
     250                        $className[0] = '_';
     251                }
     252
     253                $classPath .= $className.'.php';
     254
     255                return $classPath;
     256        }
     257
     258        public static function resolveIncludePath($classPath) {
     259                $paths = explode(PATH_SEPARATOR, get_include_path());
     260
     261                foreach ($paths as $path) {
     262                        $path = rtrim($path, '/\\');
     263
     264                        if ($file = file_exists($path.DIRECTORY_SEPARATOR.$file)) {
     265                                return $file;
     266                        }
     267                }
     268
     269                return false;
     270        }
     271}
  • src/vendor/xrstf/composer-php52/lib/xrstf/Composer52/Generator.php

     
     1<?php
     2/*
     3 * Copyright (c) 2013, Christoph Mewes, http://www.xrstf.de
     4 *
     5 * This file is released under the terms of the MIT license. You can find the
     6 * complete text in the attached LICENSE file or online at:
     7 *
     8 * http://www.opensource.org/licenses/mit-license.php
     9 */
     10
     11namespace xrstf\Composer52;
     12
     13use Composer\Repository\CompositeRepository;
     14use Composer\Script\Event;
     15
     16class Generator {
     17        public static function onPostInstallCmd(Event $event) {
     18                $composer            = $event->getComposer();
     19                $installationManager = $composer->getInstallationManager();
     20                $repoManager         = $composer->getRepositoryManager();
     21                $localRepo           = $repoManager->getLocalRepository();
     22                $package             = $composer->getPackage();
     23                $config              = $composer->getConfig();
     24
     25                // We can't gain access to the Command's input object, so we have to look
     26                // for -o / --optimize-autoloader ourselves. Sadly, neither getopt() works
     27                // (always returns an empty array), nor does Symfony's Console Input, as
     28                // it expects a full definition of the current command line and we can't
     29                // provide that.
     30
     31                $args     = $_SERVER['argv'];
     32                $optimize = in_array('-o', $args) || in_array('--optimize-autoloader', $args) || in_array('--optimize', $args);
     33
     34                $suffix   = $config->get('autoloader-suffix');
     35
     36                $generator = new AutoloadGenerator();
     37                $generator->dump($config, $localRepo, $package, $installationManager, 'composer', $optimize, $suffix);
     38        }
     39}
  • src/wp-settings.php

     
    1717 */
    1818define( 'WPINC', 'wp-includes' );
    1919
    20 // Include files required for initialization.
    21 require( ABSPATH . WPINC . '/load.php' );
    22 require( ABSPATH . WPINC . '/default-constants.php' );
    23 require_once( ABSPATH . WPINC . '/plugin.php' );
     20require( ABSPATH . WPINC . '/compat.php' );
    2421
     22// Load the PHP 5.2 compatible autoloader.
     23if ( ! file_exists( ABSPATH . '/vendor/autoload_52.php' ) ) {
     24        die( 'Autoloader was not found, aborting.' );
     25}
     26
     27require_once( ABSPATH . '/vendor/autoload_52.php' );
     28
    2529/*
    2630 * These can't be directly globalized in version.php. When updating,
    2731 * we're including version.php from another install and don't want
     
    8993// Define WP_LANG_DIR if not set.
    9094wp_set_lang_dir();
    9195
    92 // Load early WordPress files.
    93 require( ABSPATH . WPINC . '/compat.php' );
    94 require( ABSPATH . WPINC . '/functions.php' );
    95 require( ABSPATH . WPINC . '/class-wp.php' );
    96 require( ABSPATH . WPINC . '/class-wp-error.php' );
    97 require( ABSPATH . WPINC . '/pomo/mo.php' );
    98 
    9996// Include the wpdb class and, if present, a db.php database drop-in.
    10097global $wpdb;
    10198require_wp_db();
     
    107104// Start the WordPress object cache, or an external object cache if the drop-in is present.
    108105wp_start_object_cache();
    109106
    110 // Attach the default filters.
    111 require( ABSPATH . WPINC . '/default-filters.php' );
    112 
    113107// Initialize multisite if enabled.
    114108if ( is_multisite() ) {
    115         require( ABSPATH . WPINC . '/class-wp-site-query.php' );
    116         require( ABSPATH . WPINC . '/class-wp-network-query.php' );
    117109        require( ABSPATH . WPINC . '/ms-blogs.php' );
    118110        require( ABSPATH . WPINC . '/ms-settings.php' );
    119111} elseif ( ! defined( 'MULTISITE' ) ) {
     
    123115register_shutdown_function( 'shutdown_action_hook' );
    124116
    125117// Stop most of WordPress from being loaded if we just want the basics.
    126 if ( SHORTINIT )
     118if ( SHORTINIT ) {
    127119        return false;
     120}
    128121
    129 // Load the L10n library.
    130 require_once( ABSPATH . WPINC . '/l10n.php' );
    131 
    132122// Run the installer if WordPress is not installed.
    133123wp_not_installed();
    134124
    135 // Load most of WordPress.
    136 require( ABSPATH . WPINC . '/class-wp-walker.php' );
    137 require( ABSPATH . WPINC . '/class-wp-ajax-response.php' );
    138 require( ABSPATH . WPINC . '/formatting.php' );
    139 require( ABSPATH . WPINC . '/capabilities.php' );
    140 require( ABSPATH . WPINC . '/class-wp-roles.php' );
    141 require( ABSPATH . WPINC . '/class-wp-role.php' );
    142 require( ABSPATH . WPINC . '/class-wp-user.php' );
    143 require( ABSPATH . WPINC . '/class-wp-query.php' );
    144 require( ABSPATH . WPINC . '/query.php' );
    145 require( ABSPATH . WPINC . '/date.php' );
    146 require( ABSPATH . WPINC . '/theme.php' );
    147 require( ABSPATH . WPINC . '/class-wp-theme.php' );
    148 require( ABSPATH . WPINC . '/template.php' );
    149 require( ABSPATH . WPINC . '/user.php' );
    150 require( ABSPATH . WPINC . '/class-wp-user-query.php' );
    151 require( ABSPATH . WPINC . '/session.php' );
    152 require( ABSPATH . WPINC . '/meta.php' );
    153 require( ABSPATH . WPINC . '/class-wp-meta-query.php' );
    154 require( ABSPATH . WPINC . '/class-wp-metadata-lazyloader.php' );
    155 require( ABSPATH . WPINC . '/general-template.php' );
    156 require( ABSPATH . WPINC . '/link-template.php' );
    157 require( ABSPATH . WPINC . '/author-template.php' );
    158 require( ABSPATH . WPINC . '/post.php' );
    159 require( ABSPATH . WPINC . '/class-walker-page.php' );
    160 require( ABSPATH . WPINC . '/class-walker-page-dropdown.php' );
    161 require( ABSPATH . WPINC . '/class-wp-post-type.php' );
    162 require( ABSPATH . WPINC . '/class-wp-post.php' );
    163 require( ABSPATH . WPINC . '/post-template.php' );
    164 require( ABSPATH . WPINC . '/revision.php' );
    165 require( ABSPATH . WPINC . '/post-formats.php' );
    166 require( ABSPATH . WPINC . '/post-thumbnail-template.php' );
    167 require( ABSPATH . WPINC . '/category.php' );
    168 require( ABSPATH . WPINC . '/class-walker-category.php' );
    169 require( ABSPATH . WPINC . '/class-walker-category-dropdown.php' );
    170 require( ABSPATH . WPINC . '/category-template.php' );
    171 require( ABSPATH . WPINC . '/comment.php' );
    172 require( ABSPATH . WPINC . '/class-wp-comment.php' );
    173 require( ABSPATH . WPINC . '/class-wp-comment-query.php' );
    174 require( ABSPATH . WPINC . '/class-walker-comment.php' );
    175 require( ABSPATH . WPINC . '/comment-template.php' );
    176 require( ABSPATH . WPINC . '/rewrite.php' );
    177 require( ABSPATH . WPINC . '/class-wp-rewrite.php' );
    178 require( ABSPATH . WPINC . '/feed.php' );
    179 require( ABSPATH . WPINC . '/bookmark.php' );
    180 require( ABSPATH . WPINC . '/bookmark-template.php' );
    181 require( ABSPATH . WPINC . '/kses.php' );
    182 require( ABSPATH . WPINC . '/cron.php' );
    183 require( ABSPATH . WPINC . '/deprecated.php' );
    184 require( ABSPATH . WPINC . '/script-loader.php' );
    185 require( ABSPATH . WPINC . '/taxonomy.php' );
    186 require( ABSPATH . WPINC . '/class-wp-term.php' );
    187 require( ABSPATH . WPINC . '/class-wp-term-query.php' );
    188 require( ABSPATH . WPINC . '/class-wp-tax-query.php' );
    189 require( ABSPATH . WPINC . '/update.php' );
    190 require( ABSPATH . WPINC . '/canonical.php' );
    191 require( ABSPATH . WPINC . '/shortcodes.php' );
    192 require( ABSPATH . WPINC . '/embed.php' );
    193 require( ABSPATH . WPINC . '/class-wp-embed.php' );
    194 require( ABSPATH . WPINC . '/class-oembed.php' );
    195 require( ABSPATH . WPINC . '/class-wp-oembed-controller.php' );
    196 require( ABSPATH . WPINC . '/media.php' );
    197 require( ABSPATH . WPINC . '/http.php' );
    198 require( ABSPATH . WPINC . '/class-http.php' );
    199 require( ABSPATH . WPINC . '/class-wp-http-streams.php' );
    200 require( ABSPATH . WPINC . '/class-wp-http-curl.php' );
    201 require( ABSPATH . WPINC . '/class-wp-http-proxy.php' );
    202 require( ABSPATH . WPINC . '/class-wp-http-cookie.php' );
    203 require( ABSPATH . WPINC . '/class-wp-http-encoding.php' );
    204 require( ABSPATH . WPINC . '/class-wp-http-response.php' );
    205 require( ABSPATH . WPINC . '/class-wp-http-requests-response.php' );
    206 require( ABSPATH . WPINC . '/widgets.php' );
    207 require( ABSPATH . WPINC . '/class-wp-widget.php' );
    208 require( ABSPATH . WPINC . '/class-wp-widget-factory.php' );
    209 require( ABSPATH . WPINC . '/nav-menu.php' );
    210 require( ABSPATH . WPINC . '/nav-menu-template.php' );
    211 require( ABSPATH . WPINC . '/admin-bar.php' );
    212 require( ABSPATH . WPINC . '/rest-api.php' );
    213 require( ABSPATH . WPINC . '/rest-api/class-wp-rest-server.php' );
    214 require( ABSPATH . WPINC . '/rest-api/class-wp-rest-response.php' );
    215 require( ABSPATH . WPINC . '/rest-api/class-wp-rest-request.php' );
    216 require( ABSPATH . WPINC . '/class-wp-locale.php' );
    217 
    218125$GLOBALS['wp_embed'] = new WP_Embed();
    219126
    220127// Load multisite-specific files.