[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 Feb 19 06:05:02 UTC 2026


#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:  audrasjb
     Type:  enhancement        |      Status:  assigned
 Priority:  normal             |   Milestone:  7.0
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  commit             |     Focuses:  administration
-------------------------------+-----------------------------
Changes (by audrasjb):

 * keywords:  needs-refresh => commit


Comment:

 @pbiron those two CSS files:
 ```
 src/wp-admin/css/dashboard.css
 src/wp-admin/includes/dashboard.php
 ```

 But I'll fix them by myself when committing the changeset.

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


More information about the wp-trac mailing list