Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#20898 closed defect (bug) (duplicate)

When bulk editing several posts the message is wrong

Reported by: markoheijnen's profile markoheijnen Owned by:
Milestone: Priority: normal
Severity: minor Version: 3.0
Component: Posts, Post Types Keywords: dev-feedback
Focuses: Cc:

Description

When you bulk editing posts you always get the message that the posts are edited:

see: sprintf( _n( '%s post updated.', '%s posts updated.', $updated ), number_format_i18n( $updated ) );

Should it be getting the name and singular there or add it to the post updated messages array?

Change History (3)

#1 @dd32
13 years ago

Looks like the rest of the messages there were moved to use 'Item' and 'Items' back in [12728], It seems to make sense that we should update it to use the same 'Item' phrasing here.

We can't simply inject the Singular name from the CPT array registration here unfortunately, as with translations, it can become rather messy (Which is exactly why the post editor page has a filtered array of items).

#2 @johnbillion
13 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

#3 @SergeyBiryukov
13 years ago

  • Keywords needs-patch removed
  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.