[wp-trac] [WordPress Trac] #23154: Media library won't display images when there's broken attachment parents
WordPress Trac
noreply at wordpress.org
Wed Jan 9 14:28:22 UTC 2013
#23154: Media library won't display images when there's broken attachment parents
---------------------------------+--------------------------
Reporter: viniciusmassuchetto | Type: defect (bug)
Status: new | Priority: normal
Milestone: Awaiting Review | Component: General
Version: 3.5 | Severity: normal
Keywords: |
---------------------------------+--------------------------
When debug is enabled and there's a problem getting the parent of an
attachment, `get_attachment_link` will thrown a "Trying to get property of
non-object" notice that breaks the JSON response of the ajax performed by
the new 3.5 media library window.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23154>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list