[wp-trac] [WordPress Trac] #36335: Next generation: core autoloader proposal
WordPress Trac
noreply at wordpress.org
Mon Aug 29 18:30:20 UTC 2016
#36335: Next generation: core autoloader proposal
-----------------------------+------------------
Reporter: dnaber-de | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 4.7
Component: General | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-----------------------------+------------------
Comment (by charliespider):
Just a heads up... we're getting the following error popping up when
running our unit tests on [https://circleci.com]:
{{{
PHP Fatal error: Class 'WP_HTTP_Cookie' not found
}}}
which pulls in master branch from git://develop.git.wordpress.org/
Haven't nailed it down completely yet, but thinking it's a result of the
changes in this ticket.
It appears that class-wp-http-cookie.php is not getting loaded despite not
being listed in `composer.json`: `autoload.exclude-from-classmap`, but I
haven't read through everything here to see if we are expected to do
something different when referencing WP core classes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36335#comment:119>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list