[wp-trac] [WordPress Trac] #56599: "All" view not selected for all relevant views for custom post type

WordPress Trac noreply at wordpress.org
Wed Jan 28 15:08:27 UTC 2026


#56599: "All" view not selected for all relevant views for custom post type
-------------------------------------+------------------------------
 Reporter:  alpipego                 |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Posts, Post Types        |     Version:  4.2
 Severity:  trivial                  |  Resolution:
 Keywords:  has-patch has-test-info  |     Focuses:  administration
-------------------------------------+------------------------------
Changes (by huzaifaalmesbah):

 * keywords:  has-patch has-test-info needs-testing => has-patch has-test-
               info


Comment:

 == Patch Testing Report

 Patch Tested: https://github.com/WordPress/wordpress-develop/pull/8056

 === Environment
 - WordPress: 7.0-alpha-61215-src
 - PHP: 8.2.30
 - Server: nginx/1.29.4
 - Database: mysqli (Server: 9.5.0 / Client: mysqlnd 8.2.30)
 - Browser: Chrome 143.0.0.0
 - OS: macOS
 - Theme: Twenty Twenty-Five 1.4
 - MU Plugins: None activated
 - Plugins:
   * Test Custom Post Type 1.0
   * Test Reports 1.2.1

 === Steps taken
 1. Navigate to **Posts → All Posts**.
 2. Open the **Screen Options** panel.
 3. Change any option (e.g. number of items per page).
 4. Click **Apply**.
 5. Observe the “All” view state before applying the patch.
 6. Apply the patch from PR #8056.
 7. Refresh the page.
 8. Repeat the same steps for:
    - **Pages**
    - **Custom Post Type (Test)**

 9. ✅ Patch is solving the problem

 === Expected result
 - Before applying the patch:
   - ❌ The **“All”** view is not highlighted (not bold) for Pages and
 Custom Post Types.
 - After applying the patch:
   - ✅ The **“All”** view is correctly highlighted (bold) for Posts,
 Pages, and Custom Post Types.
   - ✅ No regressions observed.

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


More information about the wp-trac mailing list