WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

#18871 closed defect (bug) (worksforme)

Message saving feedback does not reflect custom post type labels

Reported by: metai Owned by:
Milestone: Priority: normal
Severity: minor Version:
Component: UI Keywords:
Focuses: Cc:

Description

Easy to reproduce: Even when defining the full range of labels for a custom post type, the feedback box after saving still says "Post published" or "Page published", and next to it "View post" or "View page". This should use the labels defined for the custom post type, just like the button below, next to the permalink.

Change History (1)

comment:1 dd323 years ago

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

See #13444 You'll need to use the 'post_updated_messages' filter.

for Translation purposes, you can't just substitute a post type/label into a generic string unfortunately.

See the codex for register_post_type() for an example of how to use it.

Note: See TracTickets for help on using tickets.