[wp-trac] [WordPress Trac] #39151: Plugin Namespacing for Tags

WordPress Trac noreply at wordpress.org
Wed Dec 7 16:45:15 UTC 2016


#39151: Plugin Namespacing for Tags
-------------------------------------------------+-------------------------
 Reporter:  LewisCowles                          |      Owner:
     Type:  feature request                      |     Status:  new
 Priority:  normal                               |  Milestone:  Awaiting
Component:  Plugins                              |  Review
 Severity:  normal                               |    Version:  trunk
  Focuses:  administration, rest-api,            |   Keywords:
  performance                                    |
-------------------------------------------------+-------------------------
 It would be really nice to be able to retrieve plugins via tags or
 namespaces (ideally both). Essentially every plugin would have tags and a
 namespace like

 E-commerce
 ===========
 * WooCommerce
 * WooCommerce product tabs pro
 * WooCommerce coupons

 Users
 ===========
 * Members Pro

 etc. Plugins without could be put in misc or other (some appropriate
 catch-all)

 I believe this would benefit the admin experience for site admins of
 complex sites, but more-so; could feed into other areas like `wp-ajax`
 callbacks and `rest-api` endpoints to speed up loading of the site by
 enabling endpoints to only load specific tags or namespaces of plugins
 needed. This would also have benefits if some plugins interact in a way
 that is undesirable for the API without custom coding, debugging etc.

 It would absolutely require more discipline than is currently needed for
 using the API, so would probably only benefit a few customers initially.
 Longer-term as sites using WP become more successful and seek to
 differentiate themselves, this would be really important for a site with
 say 100 plugins and 1,000,000 users who may not use all plugins for a REST
 API endpoint to function correctly to not load those plugins and therefore
 serve faster responses.

 I'd be happy to spend some time if this is something warranting
 consideration; it'd definitely need help, but would help with performance
 at scale even with feature-filled websites.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39151>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list