[wp-trac] [WordPress Trac] #30550: Add plugin dependency support
WordPress Trac
noreply at wordpress.org
Sun Nov 30 01:45:41 UTC 2014
#30550: Add plugin dependency support
----------------------------+-----------------------------
Reporter: section214 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version:
Severity: normal | Keywords:
Focuses: administration |
----------------------------+-----------------------------
With more and more large-scale projects being released, we're seeing a
rise in plugin dependencies across the board. Historically, it has been
the unspoken rule that plugins should fail gracefully if a dependent
plugin isn't active. This has resulted in numerous ways devs are
attempting to detect the existence of other plugins and handle their
absence, many of which cause as many problems as the resolve. This is far
from ideal.
At this point, I think that WordPress itself needs to facilitate
dependency management between plugins, if not between themes and plugins.
I've been prototyping an implementation which relies on the addition of a
Dependencies: line to the standard theme/plugin headers in order to keep
in line with WordPress standards.
As of now, it's just a hodgepodge of functions I've thrown into a simple
plugin which works... but it's far from perfect. If the community as a
whole agrees that this is in the best interests of furthering WordPress
development, I'd like to put more serious work into developing a
dependency platform that, at a later date, could be integrated into core.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30550>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list