[wp-trac] [WordPress Trac] #60495: Following "plugins_list": Add a filter in get_views() in class-wp-plugins-list-table
WordPress Trac
noreply at wordpress.org
Tue Jun 17 15:54:00 UTC 2025
#60495: Following "plugins_list": Add a filter in get_views() in class-wp-plugins-
list-table
-----------------------------------------+---------------------
Reporter: juliobox | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.9
Component: Plugins | Version: 6.3
Severity: normal | Resolution:
Keywords: has-patch changes-requested | Focuses:
-----------------------------------------+---------------------
Comment (by SirLouen):
I've hunted down the "Allowed Statuses" intent to [11029]
From what I can read in the whole history of commits down to that
changeset, this started to track where the user left in the last visit. At
some point with the introduction of the menu "Installed Plugins", someone
decided that "All" should be defaulted, but left the list of "Allowed
Statuses" without any particular additional purpose.
Also, we must address
[https://core.trac.wordpress.org/ticket/60495#comment:9 what david
commented back in the day]
Now, those allowed statuses only serve as a hindrance to avoid an
extension like this, to add new Statuses as @mindctrl has pointed out.
About the Unit Tests, @sukhendu2002
[https://core.trac.wordpress.org/ticket/63529#comment:28 first, please
read this]. For a hook filter, they are not really needed, or they need a
major revamp to address more precisely the intent of this filter. As I
commented on the other ticket, you can take an initial template as an
inspiration, but or they are manually curated to death or better leave
them undone.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60495#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list