[wp-trac] [WordPress Trac] #29566: Grid Media Library Won't Load in 4.0 w All Plugins Disabled
WordPress Trac
noreply at wordpress.org
Sun Sep 7 18:03:45 UTC 2014
#29566: Grid Media Library Won't Load in 4.0 w All Plugins Disabled
------------------------------+-----------------------------
Reporter: johnstonphilip | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.0.1
Component: Media | Version: 4.0
Severity: normal | Resolution:
Keywords: has-patch commit | Focuses: ui, javascript
------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* keywords: reporter-feedback => has-patch commit
* milestone: Awaiting Review => 4.0.1
Comment:
You have some images attached to non-existing posts.
Normally, `wp_delete_post()` [source:tags/4.0/src/wp-
includes/post.php#L2611 makes sure not to leave orphaned images].
Still, we should check if the parent post exists, like we do in
[source:tags/4.0/src/wp-admin/includes/class-wp-media-list-table.php#L408
class-wp-media-list-table.php].
See [attachment:29566.patch].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29566#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list