Make WordPress Core

Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#16381 closed feature request (worksforme)

Adding little numbers to custom post types admin menu entry

Reported by: bmb Owned by: bmb
Milestone: Priority: normal
Severity: normal Version: 3.1
Component: Posts, Post Types Keywords: has-patch needs-testing
Focuses: Cc:


It would be useful to be able to add the little numbers (like comments awaiting review or plugins needing update) next to my custom postws menu entry.
One idea of how this may be done: Have a filter like admin_menu_label_{$post_type} where the HTML for the circle can be added.

Attachments (1)

menu.php.patch (1.6 KB) - added by bmb 5 years ago.

Download all attachments as: .zip

Change History (5)

5 years ago

#1 @bmb
5 years ago

  • Keywords has-patch needs-testing added
  • Owner set to bmb
  • Status changed from new to accepted
  • Version changed from 3.0.4 to 3.1

#2 @nacin
5 years ago

This isn't necessary in 3.1. The menu_name label can be used.

#3 @nacin
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.