[wp-trac] [WordPress Trac] #22874: Warnings when media attached to removed custom post type

WordPress Trac noreply at wordpress.org
Wed Dec 12 08:51:39 UTC 2012


#22874: Warnings when media attached to removed custom post type
-----------------------------+--------------------------
 Reporter:  rasmusbe         |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Media
  Version:                   |   Severity:  normal
 Keywords:                   |
-----------------------------+--------------------------
 When a media file is attached to a custom post type which is removed
 afterwards I get these warnings in one of the columns:


 {{{
 Notice: Trying to get property of non-object in
 /wordpress/wp-includes/capabilities.php on line 1075
 Notice: Trying to get property of non-object in
 /wordpress/wp-includes/capabilities.php on line 1076
 Notice: Trying to get property of non-object in
 /wordpress/wp-includes/capabilities.php on line 1079
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22874>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list