[wp-trac] [WordPress Trac] #39151: Plugin Namespacing for Tags
WordPress Trac
noreply at wordpress.org
Wed Jan 4 02:28:45 UTC 2017
#39151: Plugin Namespacing for Tags
-----------------------------+------------------------------------------
Reporter: LewisCowles | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses: administration, performance
-----------------------------+------------------------------------------
Changes (by rmccue):
* focuses: administration, rest-api, performance => administration,
performance
Comment:
Is this functionality in WordPress itself, or as a WordPress.org API for
the plugin repository? W.org
[https://api.wordpress.org/plugins/info/1.1/?action=query_plugins&tag=woocommerce
already has this API].
I'm not sure I see the benefits to it for local usage, but this data does
already exist in the readme.txt files if you want to pull it out. Can you
describe the use case for this a little further?
I'm also not sure how this would change any performance characteristics.
Right now, all plugins are loaded, which allows plugins to control what
they want to do. If you know in your plugin that you don't need to load on
a REST API request, you can already skip loading anything. However, due to
the interconnectedness of WordPress, it's unlikely your plugin won't need
to do anything. Conditionally loading plugins is generally a bad idea, and
IMO it's the plugin's responsibility to handle this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39151#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list