[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 Sep 17 18:38:13 UTC 2024


#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.7
Component:  Plugins                               |     Version:  6.3
 Severity:  normal                                |  Resolution:
 Keywords:  has-patch needs-testing dev-feedback  |     Focuses:
--------------------------------------------------+---------------------
Changes (by davidbaumwald):

 * keywords:  has-patch needs-testing => has-patch needs-testing dev-
               feedback


Comment:

 Looking at the latest patch, I think if the `$allowed_statuses` whitelist
 check goes away, we'll need to sanitize `$_REQUEST['plugin_status']`
 before using it.  Same would need to be done in the new `default` case
 before passing to `WP_List_Table->get_views_links`.

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


More information about the wp-trac mailing list