Scott Taylor
6a529648cf
Bootstrap: Autoload classes using a Composer-generated PHP 5.2-compatible Autoloader.
...
* `wp-admin` and `wp-includes` are scanned for classes to autoload
* Several 3rd-party and Ryan McCue-shaped libraries are excluded when the classmap is generated, see `composer.json`: `autoload.exclude-from-classmap`
* `wp-vendor/autoload_52.php` is included at the top of `wp-settings.php` - no changes need to be made to unit tests to include the autoloader
* An avalanche of `require()` and `require_once()` calls that loaded class files have been removed from the codebase.
The following files have been added to `svn:ignore` - they are not 5.2-compatible and fail during pre-commit:
* src/wp-vendor/autoload.php
* src/wp-vendor/composer/autoload_real.php
* src/wp-vendor/composer/autoload_static.php
* src/wp-vendor/composer/ClassLoader.php
We favor these files instead:
* src/wp-vendor/autoload_52.php
* src/wp-vendor/composer/autoload_real_52.php
* src/wp-vendor/composer/ClassLoader52.php
When new PHP classes are added to the codebase, simply run `composer install` or `composer update` from the project root to update the autoloader.
The future is now.
See #36335 .
Built from https://develop.svn.wordpress.org/trunk@38399
git-svn-id: http://core.svn.wordpress.org/trunk@38340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-08-27 09:15:29 +00:00
..
2016-08-25 01:20:30 +00:00
2016-08-27 09:15:29 +00:00
2016-08-26 22:08:33 +00:00
2016-08-23 04:43:31 +00:00
2016-08-18 03:48:31 +00:00
2016-07-12 11:45:29 +00:00
2016-07-06 17:08:31 +00:00
2016-08-26 16:49:45 +00:00
2016-08-27 09:15:29 +00:00
2016-08-23 23:18:29 +00:00
2016-05-27 17:16:27 +00:00
2016-08-23 14:38:29 +00:00
2016-08-08 18:49:28 +00:00
2016-08-26 18:23:31 +00:00
2016-08-22 18:25:31 +00:00
2016-07-06 12:40:29 +00:00
2016-08-27 09:15:29 +00:00
2016-08-27 09:15:29 +00:00
2016-08-26 16:49:45 +00:00
2016-08-27 09:15:29 +00:00
2016-07-27 14:55:28 +00:00
2016-06-06 03:24:29 +00:00
2016-07-06 12:40:29 +00:00
2016-08-23 23:33:28 +00:00
2016-06-06 15:18:31 +00:00
2016-07-12 11:18:30 +00:00
2016-08-23 14:33:30 +00:00
2016-08-23 14:41:29 +00:00
2016-08-26 19:09:27 +00:00
2016-08-27 09:15:29 +00:00
2016-08-27 09:15:29 +00:00
2016-06-28 22:44:30 +00:00
2016-08-27 09:15:29 +00:00
2016-08-27 09:15:29 +00:00
2016-08-27 09:15:29 +00:00
2016-08-26 18:06:39 +00:00
2016-08-25 01:20:30 +00:00
2016-08-26 09:53:28 +00:00
2016-08-26 09:58:28 +00:00
2016-08-25 18:18:39 +00:00
2016-08-25 18:18:39 +00:00
2016-07-27 15:32:27 +00:00
2016-06-10 04:50:33 +00:00
2016-07-27 15:32:27 +00:00
2016-08-22 21:28:27 +00:00
2016-07-08 14:37:30 +00:00
2016-07-08 14:37:30 +00:00
2016-08-20 23:36:28 +00:00
2016-08-22 21:33:28 +00:00
2016-08-26 18:11:39 +00:00
2016-08-18 18:21:31 +00:00
2016-08-23 14:41:29 +00:00
2016-06-29 19:35:28 +00:00
2016-05-25 19:22:27 +00:00
2016-07-18 22:52:29 +00:00
2016-08-26 19:09:27 +00:00
2016-08-25 19:42:43 +00:00
2016-08-22 18:25:31 +00:00
2016-08-26 21:16:59 +00:00
2016-08-25 17:44:31 +00:00
2016-08-25 18:18:39 +00:00
2016-08-25 18:18:39 +00:00
2016-08-23 14:41:29 +00:00
2016-08-26 16:49:45 +00:00
2016-08-18 18:21:31 +00:00
2016-08-26 18:12:26 +00:00
2016-08-26 19:09:27 +00:00
2016-08-25 17:37:30 +00:00
2016-08-25 17:37:30 +00:00
2016-07-20 16:57:32 +00:00
2016-08-25 17:44:31 +00:00
2016-08-18 18:21:31 +00:00
2016-08-22 22:15:29 +00:00
2016-07-20 16:57:32 +00:00
2016-08-22 21:51:28 +00:00
2016-08-18 18:21:31 +00:00
2016-08-26 18:11:39 +00:00
2016-08-26 18:06:39 +00:00
2016-07-06 12:40:29 +00:00
2016-07-20 16:57:32 +00:00
2016-08-27 09:15:29 +00:00
2016-08-10 16:10:31 +00:00
2016-08-26 09:22:30 +00:00
2016-08-18 19:48:34 +00:00
2016-07-08 14:37:30 +00:00
2016-07-13 12:54:28 +00:00
2016-08-23 23:36:28 +00:00
2016-07-06 12:40:29 +00:00
2016-08-26 09:49:28 +00:00
2016-06-10 04:50:33 +00:00
2016-08-27 09:15:29 +00:00
2016-08-26 09:35:27 +00:00
2016-08-27 09:15:29 +00:00
2016-08-23 23:53:27 +00:00
2016-07-06 12:40:29 +00:00
2016-08-27 09:15:29 +00:00
2016-07-20 16:57:32 +00:00
2016-08-26 10:20:29 +00:00
2016-08-27 09:15:29 +00:00
2016-08-27 09:15:29 +00:00
2016-07-05 11:32:29 +00:00
2016-08-27 09:15:29 +00:00
2016-07-20 19:33:30 +00:00
2016-08-26 21:35:30 +00:00
2016-07-06 12:40:29 +00:00
2016-07-06 12:40:29 +00:00
2016-08-26 21:35:30 +00:00
2016-08-04 22:54:31 +00:00
2016-08-27 09:15:29 +00:00
2016-08-27 09:15:29 +00:00
2016-08-26 16:49:45 +00:00
2016-08-26 21:35:30 +00:00
2016-07-06 12:40:29 +00:00
2016-08-27 09:15:29 +00:00
2016-08-19 04:10:30 +00:00
2016-08-26 17:40:35 +00:00
2016-06-29 17:28:28 +00:00
2016-08-23 01:42:32 +00:00
2016-08-25 17:20:38 +00:00
2016-07-06 12:40:29 +00:00
2016-07-06 12:40:29 +00:00
2016-08-22 20:56:28 +00:00
2016-07-20 16:24:28 +00:00
2016-07-06 12:40:29 +00:00
2016-07-06 12:40:29 +00:00
2016-08-27 09:15:29 +00:00
2016-06-26 14:26:29 +00:00
2016-08-22 18:25:31 +00:00
2016-08-26 21:03:27 +00:00
2016-08-27 09:15:29 +00:00
2016-08-27 09:15:29 +00:00
2016-08-26 17:40:35 +00:00
2016-08-27 09:15:29 +00:00
2016-08-22 21:10:28 +00:00
2016-08-27 09:15:29 +00:00