[wp-trac] [WordPress Trac] #24258: PHP notices throws when the attachment parent not exists

WordPress Trac noreply at wordpress.org
Fri May 3 16:49:02 UTC 2013


#24258: PHP notices throws when the attachment parent not exists
--------------------------+-----------------------------
 Reporter:  alex-ye       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 Some functions throws PHP notices when the attachment parent not exists (
 the attachment have a value for a parent post but this post removed by any
 reason ).

 like:
 get_attachment_link()
 WP_Media_List_Table=>display_rows()

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


More information about the wp-trac mailing list