[wp-trac] [WordPress Trac] #42217: Plugins misuse get_plugins(), should be cached

WordPress Trac noreply at wordpress.org
Sun Oct 15 03:39:21 UTC 2017


#42217: Plugins misuse get_plugins(), should be cached
-------------------------+------------------------------
 Reporter:  fabifott     |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Plugins      |     Version:  4.8
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:  performance
-------------------------+------------------------------

Comment (by afragen):

 I feel I should comment as the plugin in question is mine, though not in
 dot org. It only called `get_plugins()` on specific admin pages and never
 on the frontend.

 I believe I’ve figured out a way to cache this data for a short time, but
 as the plugin is an updater it relies on know if/when new plugins are
 added.

 The specific issue is on GitHub, https://github.com/afragen/github-
 updater/issues/612

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


More information about the wp-trac mailing list