[wp-trac] [WordPress Trac] #50546: Add better error notices when deleting things fail
WordPress Trac
noreply at wordpress.org
Sat Jul 4 18:19:05 UTC 2020
#50546: Add better error notices when deleting things fail
-----------------------------------+---------------------------------
Reporter: dingo_d | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version:
Severity: normal | Resolution:
Keywords: 2nd-opinion has-patch | Focuses: ui, administration
-----------------------------------+---------------------------------
Comment (by SergeyBiryukov):
Replying to [comment:2 dingo_d]:
> Since we have a post ID, we could add `get_post_type` to identify the
post type? And fall back to `item` as a default?
A general best practice in WordPress is to avoid post type and taxonomy
names in generic strings due to i18n concerns and structural differences
in languages. For reference, see:
* comment:3:ticket:17609
* comment:1:ticket:19099
* #37895
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50546#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list