[wp-trac] [WordPress Trac] #46202: Load a plugin only if it is used

WordPress Trac noreply at wordpress.org
Thu Feb 7 13:45:45 UTC 2019


#46202: Load a plugin only if it is used
-------------------------+------------------------
 Reporter:  lawix        |       Owner:  (none)
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  General      |     Version:
 Severity:  normal       |  Resolution:  duplicate
 Keywords:               |     Focuses:
-------------------------+------------------------
Changes (by earnjam):

 * status:  new => closed
 * type:  defect (bug) => enhancement
 * version:  5.0.3 =>
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 @lawix Welcome to Trac!

 You are correct in that WordPress does not use any type of autoloader, but
 there have already been long ongoing discussions in #36335 about it. For
 now, it's up to each plugin to responsibly load their code and assets only
 as needed.

 I'm going to close this as a duplicate.

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


More information about the wp-trac mailing list