[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 11:59:04 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:  i18n-change       |
------------------------------+------------------------------

Comment (by johnbillion):

 Example notice FYI:
 `Notice: Trying to get property of non-object in wp-admin\post.php on line
 246`
 This refers to the `$post_type_object` variable which isn't an object when
 the post doesn't exist.

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


More information about the wp-trac mailing list