[wp-trac] [WordPress Trac] #50546: Add better error notices when deleting things fail

WordPress Trac noreply at wordpress.org
Sat Jul 4 07:01:16 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 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?

 Or would that be a bit much?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50546#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list