[wp-trac] [WordPress Trac] #11308: Handling plugin dependencies

WordPress Trac wp-trac at lists.automattic.com
Sun May 6 17:26:12 UTC 2012


#11308: Handling plugin dependencies
-------------------------+-------------------------
 Reporter:  apeatling    |       Owner:  westi
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Plugins      |     Version:
 Severity:  normal       |  Resolution:  worksforme
 Keywords:  plugins      |
-------------------------+-------------------------

Comment (by lkraav):

 scribu, your plugin doesn't handle the actual load order does it? if i
 need to do

 {{{
 class MyClass extends SomeUpstreamClass
 }}}

 but my plugin is alphabetically in front of SomeUpstreamPlugin, then
 SomeUpstreamClass won't exist.

 Something called [https://wordpress.org/extend/plugins/plugin-organizer/
 Plugin Organizer] is out there, but it seems too bloated for this simple
 task.

 So it seems comment:7 is the best approach today, albeit requiring
 cooperation from SomeUpstreamPlugin?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11308#comment:25>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list