WordPress.org

Make WordPress Core

Opened 2 months ago

Last modified 2 months ago

#51387 new defect (bug)

Add trash post type label

Reported by: ntsekouras Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords: needs-patch
Focuses: administration Cc:

Description

Now as we can see from the available post type labels, there is not one for trashing an entity.
Ref here: https://developer.wordpress.org/reference/functions/get_post_type_labels/.

In Gutenberg when you trash an entity should show a message from the labels, so as to be translated as well.

Related issue in Gutenberg here: https://github.com/WordPress/gutenberg/issues/19144

Change History (2)

#1 @SergeyBiryukov
2 months ago

  • Component changed from General to Posts, Post Types

#2 @johnbillion
2 months ago

  • Keywords needs-patch added
Note: See TracTickets for help on using tickets.