Make WordPress Core

Opened 11 years ago

Closed 10 years ago

Last modified 10 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 11 years ago.

Download all attachments as: .zip

Change History (5)

11 years ago

#1 @bmb
11 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
11 years ago

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

#3 @nacin
10 years ago

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