[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
Sat Jun 14 16:23:20 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:
-----------------------------------------+---------------------
Changes (by SirLouen):

 * keywords:  has-patch needs-testing => has-patch changes-requested


Comment:

 == Test Report
 === Description
 ❌ This report can't validate that the indicated patch works as expected.

 Patch tested: https://github.com/WordPress/wordpress-
 develop/pull/8294.diff

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.28
 - Server: nginx/1.27.5
 - Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
 - Browser: Chrome 137.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Twenty 2.9
 - MU Plugins: None activated
 - Plugins:
   * Plugins Filter List 1.0
   * Test Reports 1.2.0

 === Testing Instructions
 1. First add the code provided in OP, I added as a new plugin
 2. Add hello dolly to `hello-dolly/hello.php`
 3. Go to Plugins
 4. 🐞 Problem happens as described in OP

 === Actual Results with the test
 1. ❌ Issue is not resolved with patch.

 === Additional Notes

 - Tests seem to be covering a use cases of the new filter (adding a new
 custom status), but not covering the problem with the repeated statuses
 that seem to conflict with existing statuses and generate a wrong new
 status with count 1.

 cc @sukhendu2002

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


More information about the wp-trac mailing list