Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#19104 closed defect (bug) (fixed)

Admin bar shows "1 Comments" if more than 999 comments are in moderation

Reported by: markjaquith Owned by: markjaquith
Milestone: 3.3 Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:


It's using %d, so "1,000" with the comma gets converted to the integer 1.

Attachments (1)

19104.diff (569 bytes) - added by markjaquith 2 years ago.

Download all attachments as: .zip

Change History (3)

markjaquith2 years ago

comment:1 markjaquith2 years ago

  • Owner set to markjaquith
  • Resolution set to fixed
  • Status changed from new to closed

In [19103]:

Use %s, not %d, for comment numbers in admin bar sprintf(). fixes #19104

comment:2 SergeyBiryukov2 years ago

  • Milestone changed from Awaiting Review to 3.3
Note: See TracTickets for help on using tickets.