WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#20898 closed defect (bug) (duplicate)

When bulk editing several posts the message is wrong

Reported by: 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)

comment:1 @dd323 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).

comment:2 @johnbillion3 years ago

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

comment:3 @SergeyBiryukov3 years ago

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