[wp-trac] [WordPress Trac] #30052: Add New Media Drag and Drop Hangs on Crunching
WordPress Trac
noreply at wordpress.org
Sun Feb 8 13:57:18 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):
I've identified the problem + fixed it on two client sites.
A less-than-intelligent developer modified the theme's functions.php + wp-
config.php to this PHP preamble...
<?php?><?php
instead of the correct...
<?php
The effect was to prepend a <?php?> to all emitted content.
Usually I pass all sites through the W3C Validator first + missed doing
this for some reason or I'd have caught this.
My guess is that an JSON returned during an AJAX conversation would have
been an error with <?php?> prepended.
For now all's well.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30052#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list