[wp-trac] [WordPress Trac] #43882: Introduce slug-specific hooks to manage plugin loading order

WordPress Trac noreply at wordpress.org
Thu Jan 24 06:55:42 UTC 2019


#43882: Introduce slug-specific hooks to manage plugin loading order
-------------------------+------------------------------
 Reporter:  schlessera   |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Plugins      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by ChriCo):

 Wouldn't it be better, when we're talking about "Plugin A depends on
 Plugin B", to define something similar to the Script/Style API to define
 "depends_on"?

 Also, - just some throw ins to this topic - instead of introducing new
 (dynamic) hooks, which are hard to document and rely on, wouldn't it
 better to create some improved code with e.G. {{{Plugin_Registry}}},
 {{{Plugin_Configuration}}}, ...? This would also benefit by providing more
 information to the plugin bootstrap itself and maybe also moving the
 definition of plugin configuration data via docblock
 ({{{get_plugin_data}}}) to some more performant implementation.

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


More information about the wp-trac mailing list