Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#25289 closed enhancement (invalid)

Use post label for edit post messages

Reported by: theaussiepea Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.6.1
Component: Posts, Post Types Keywords: posts, messages, custom post types
Focuses: Cc:


Currently, the labels for edit post messages in post.php and post-new.php are hard coded. Let's use the post type label for these messages instead.

Attachments (1)

25289.diff (4.9 KB) - added by theaussiepea 8 years ago.

Download all attachments as: .zip

Change History (3)

8 years ago

#1 @alettieri
8 years ago

Confirmed and tested. Created custom post type, and applied patch/diff. Post Type Labels are showing up!


#2 @SergeyBiryukov
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

The labels are not hardcoded, there's a post_updated_messages filter to change them (introduced in [14801] for #13444).

25289.diff is not localizable, see ticket:17609:3 and ticket:19099:1. We tend to avoid post type and taxonomy names in generic strings.

Note: See TracTickets for help on using tickets.