[wp-trac] [WordPress Trac] #30052: Add New Media Drag and Drop Hangs on Crunching
WordPress Trac
noreply at wordpress.org
Sat Feb 7 13:40:51 UTC 2015
#30052: Add New Media Drag and Drop Hangs on Crunching
--------------------------+-----------------------------
Reporter: Gregory_Lang | Owner:
Type: defect (bug) | Status: reopened
Priority: low | Milestone: Future Release
Component: Media | Version: 4.0
Severity: normal | Resolution:
Keywords: 2nd-opinion | Focuses: administration
--------------------------+-----------------------------
Comment (by dfavor):
Tracing the value of $_REQUEST in wp-admin/async-upload.php around line
#50 turns up possibly useful data.
In working systems, $_REQUEST contains:
'attachment_id' => string '835' (length=3)
'fetch' => string '3' (length=1)
Broken sites contain...
'name' => string 'test-image.png' (length=14)
'post_id' => string '0' (length=1)
'_wpnonce' => string '96fedbd5d9' (length=10)
'type' => string '' (length=0)
'tab' => string '' (length=0)
'short' => string '1' (length=1)
So if attachment_id + fetch are missing from $_REQUEST, the logic never
fires to populate the thumbnail markup data.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30052#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list