[wp-trac] [WordPress Trac] #27110: Allow filtering the plugin list in the admin

WordPress Trac noreply at wordpress.org
Fri Aug 18 15:44:24 UTC 2017


#27110: Allow filtering the plugin list in the admin
-------------------------+-----------------------------
 Reporter:  rmccue       |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Plugins      |     Version:
 Severity:  minor        |  Resolution:  maybelater
 Keywords:  has-patch    |     Focuses:  administration
-------------------------+-----------------------------

Comment (by ideag):

 Could we please revisit this? It seems very weird that we have a hook to
 add additional links to the `views` line above plugin list, but that there
 is no clean way to make the list table to display anything but he default
 plugin list once you click that link.

 If that was a conscious decision, to not allow plugin developers to mess
 with that screen, I can understand that, though it is a bit futile, as
 there are ways to get around that (not nice ways, but ways nonetheless).
 You can hook into a different hook and modify `$plugins`, `$totals` and
 `$status` WP globals to achieve that, as demonstrated here:
 https://github.com/ideag/TinyLibraries/blob/master/tinylibraries.php#L104-L121

 If this was just overlooked, I'd be happy to provide a patch for this.

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


More information about the wp-trac mailing list