[wp-trac] [WordPress Trac] #24246: PHP notices when attempting to delete/trash/untrash a deleted post

WordPress Trac noreply at wordpress.org
Thu May 2 12:52:46 UTC 2013


#24246: PHP notices when attempting to delete/trash/untrash a deleted post
------------------------------+------------------------------
 Reporter:  johnbillion       |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  low               |   Milestone:  Awaiting Review
Component:  Warnings/Notices  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |
------------------------------+------------------------------

Comment (by ocean90):

 There is already a `$post_type_object` check for the edit action, see
 [source:trunk/wp-admin/post.php:23929#L142], which we could use here too.

 Related: #20064

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/24246#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list