[wp-trac] [WordPress Trac] #45035: allow register_post_type() arg to control whether a CPT's counts are added to the "At a Glance" Dashboard widget

WordPress Trac noreply at wordpress.org
Thu Dec 18 17:13:39 UTC 2025


#45035: allow register_post_type() arg to control whether a CPT's counts are added
to the "At a Glance" Dashboard widget
-------------------------------------------------+-------------------------
 Reporter:  pbiron                               |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Posts, Post Types                    |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests needs-      |     Focuses:
  testing                                        |  administration
-------------------------------------------------+-------------------------
Changes (by SirLouen):

 * milestone:  Awaiting Review => Future Release


Comment:

 == Test Report
 === Description
 ✅ This report validates that the indicated patch works as expected.

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

 === Environment
 - WordPress: 7.0-alpha-61215-src
 - PHP: 8.2.29
 - Server: nginx/1.29.3
 - Database: mysqli (Server: 8.4.7 / Client: mysqlnd 8.2.29)
 - Browser: Chrome 143.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Twenty-Five 1.4
 - MU Plugins: None activated
 - Plugins:
   * BBB Testing Dolly
   * Gutenberg 22.3.0
   * Test Reports 1.2.1

 === Testing Instructions
 - These: https://core.trac.wordpress.org/ticket/45035#comment:9

 === Actual Results
 1.  ✅ Issue resolved with patch.

 === Additional Notes
 - @johnbillion what do you say of the idea that @gwelser provided?

 === Supplemental Artifacts
 [[Image(https://i.imgur.com/3EcHlzn.png)]]

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


More information about the wp-trac mailing list