Closed bobbingwide closed 8 years ago
While testing of the new version of the WordPress-Importer I noted a problem which I initially raised as https://github.com/humanmade/WordPress-Importer/issues/46
The problem when running locally was due to the tracing I'd enabled to attempt to detect the problem I'd noted running on a remote server.
As suspected, it was the trace shutdown logic that was writing HTML comments back to some JavaScript that couldn't cater for it.
Don't write HTML comments when load_async-upload.php has been performed.
load_async-upload.php
While testing of the new version of the WordPress-Importer I noted a problem which I initially raised as https://github.com/humanmade/WordPress-Importer/issues/46
The problem when running locally was due to the tracing I'd enabled to attempt to detect the problem I'd noted running on a remote server.
As suspected, it was the trace shutdown logic that was writing HTML comments back to some JavaScript that couldn't cater for it.
Solution
Don't write HTML comments when
load_async-upload.php
has been performed.