WordPress.org

Make WordPress Core

Opened 23 months ago

Closed 22 months ago

Last modified 22 months 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 dd3223 months 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 johnbillion22 months ago

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

comment:3 SergeyBiryukov22 months ago

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