WordPress.org

Make WordPress Core

Ticket #36335: 36335-classmap.diff

File 36335-classmap.diff, 33.8 KB (added by MikeSchinkel, 4 years ago)

wp-classmapgen.php and example generated wp-classmap.php

  • www/wp-classmapgen.php

    IIndex: www/wp-classmapgen.php
    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
     1<?php
     2/**
     3 * Generates a classmap for classes in /wp-includes and /wp-admin
     4 * It should be saved to the www root and when run it saves to wp-classmap.php
     5 * wp-classmap.php could then be loaded by wp-settings.php
     6 *
     7 * THIS IS A STRAWMAN PROPOSAL - https://en.wikipedia.org/wiki/Straw_man_proposal
     8 */
     9global $classmap;
     10$classmap = array();
     11
     12/**
     13 * @param SplFileInfo $file
     14 */
     15function handle_file( $file ) {
     16        global $classmap;
     17
     18        do {
     19                if ( $file->isDir() ) {
     20                        continue;
     21                }
     22
     23                if ( 'php' !== strtolower( $file->getExtension() ) ) {
     24                        continue;
     25                }
     26
     27                $php_code = file_get_contents( $file->getRealPath() );
     28
     29                if ( false === strpos( $php_code, 'class ' ) ) {
     30                        continue;
     31                }
     32
     33                /**
     34                 * @see http://stackoverflow.com/a/12011255/102699
     35                 */
     36                $class_name = '([a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*)';
     37
     38                if ( ! preg_match_all( "/\n\s*class\s*{$class_name}/", $php_code, $matches ) ) {
     39                        continue;
     40                }
     41                foreach( $matches[ 1 ] as $class_name ) {
     42                        $classmap[ $class_name ] = $file->getRealPath();
     43                }
     44
     45        } while ( false );
     46
     47}
     48
     49$files = new RecursiveIteratorIterator( new RecursiveDirectoryIterator( __DIR__ . '/wp-includes' ) );
     50foreach( $files as $file ) {
     51        handle_file( $file );
     52}
     53$files = new RecursiveIteratorIterator( new RecursiveDirectoryIterator( __DIR__ . '/wp-admin' ) );
     54foreach( $files as $file ) {
     55        handle_file( $file );
     56}
     57ob_start();
     58var_export( $classmap );
     59$classmap = ob_get_clean();
     60$classmap = '<?' . <<<PHP
     61php
     62// WordPress Core Classmap
     63return {$classmap};
     64PHP;
     65
     66header( 'Content-type:text/plain');
     67echo $classmap;
     68file_put_contents( __DIR__ . '/wp-classmap.php', $classmap );
  • www/wp-classmap.php

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