[wp-trac] [WordPress Trac] #42066: List tables: consider a new method to generate the views links markup

WordPress Trac noreply at wordpress.org
Fri Sep 2 04:51:39 UTC 2022


#42066: List tables: consider a new method to generate the views links markup
-------------------------------------------------+-------------------------
 Reporter:  afercia                              |       Owner:  costdev
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.1
Component:  Administration                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  testing has-testing-info                       |
-------------------------------------------------+-------------------------
Changes (by costdev):

 * keywords:  has-patch needs-testing has-unit-tests => has-patch has-unit-
     tests needs-testing has-testing-info


Comment:

 == Testing Instructions
 === Steps to test
 1. Apply [https://github.com/WordPress/wordpress-develop/pull/2828 PR
 2828].
 2. Navigate to the following admin pages:
   - `Posts`
   - `Comments`
   - `Pages`
   - `Plugins`
   - `Plugins > Add New`
   - `Users`
   - `Tools > Export Personal Data`
   - If you have a multisite test site set up:
     - `Sites`
     - `Users`
   - Other list tables touched by the PR but I'm not sure where to navigate
 to 😝:
     - Plugin Install (this doesn't appear to be `Plugins > Add New`)
     - Themes/MS Themes (this doesn't appear to be `Appearance > Themes`)
     - Theme Install (this doesn't appear to be `Appearance > Themes > Add
 New`)
   - Additionally, you can install and activate some of the plugins in
 [https://wpdirectory.net/search/01G7QZWB07E3114X6W4ZNT4ZBG this result]
 and [https://wpdirectory.net/search/01G7R00R7YM9HV9Y47DTZZHQFD this
 result], and check their respective list tables to ensure they continue to
 function as expected.
 3. Click on other statuses in the list table (e.g. "Draft").
 === Expected Results
 - ✅ The first status (e.g. "All") should be selected before and after
 applying the PR.
 - ✅ Clicking on another status should correctly filter the list table and
 highlight the selected status.
 - (in short, everything should work as it used to)

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


More information about the wp-trac mailing list