[wp-trac] [WordPress Trac] #36335: Next generation: core autoloader proposal

WordPress Trac noreply at wordpress.org
Mon Aug 29 08:09:55 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 toscho):

 Replying to [comment:113 Clorith]:

 > I was thinking of ways we could possibly sign core classes so we don't
 auto load plugin/theme ones as replacements […]

 That way exists already: namespaces, available since PHP 5.3.

 But I agree with @schlessera: Whoever tries to replace core classes will
 run into many problems immediately, and their code ''should'' break. This
 is not a problem the core has to resolve.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36335#comment:114>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list