[wp-trac] [WordPress Trac] #37656: Improve plugin bootstrapping processes with `WP_Plugin`
WordPress Trac
noreply at wordpress.org
Tue Aug 16 13:29:16 UTC 2016
#37656: Improve plugin bootstrapping processes with `WP_Plugin`
-------------------------+------------------------------
Reporter: flixos90 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Comment (by jdgrimes):
Sorry for posting yet another comment, but I wanted to say that all of the
plugin bootstrap doesn't need to go into a single class. WordPress can
help plugins un/install/update themselves better, etc., without a
`WP_Plugin` class, by adding other helper classes that plugins can use to
aid them in performing these and other tasks. Really, each part of this
bootstrap (if it ever materializes in core) should be its own class. It
shouldn't all be stuffed into a giant monster. But each part could be
integrated with a `WP_Plugin` class or the like as it evolves. In other
words such a bootstrap should be composed of multiple separate APIs.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37656#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list