Changes between Initial Version and Version 2 of Ticket #37266
- Timestamp:
- 04/19/2019 09:01:39 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #37266
-
Property
Status
changed from
new
toclosed
-
Property
Resolution
changed from
to
invalid
-
Property
Component
changed from
General
toAdministration
-
Property
Milestone
changed from
Awaiting Review
to
-
Property
Status
changed from
-
Ticket #37266 – Description
initial v2 1 1 When a user has a cookie named "action", AJAX uploads to `/wp-admin/async-upload.php` fail to define `DOING_AJAX` because the check `'upload-attachment' === $_REQUEST['action']` since $_REQUEST includes $_COOKIES. 2 2 3 As a result, calling `wp_die()` at the end of `wp_ajax_upload_attachment()` results in the standard Word press error HTML being appended to the response, and an HTTP 500 error code being returned.3 As a result, calling `wp_die()` at the end of `wp_ajax_upload_attachment()` results in the standard WordPress error HTML being appended to the response, and an HTTP 500 error code being returned. 4 4 5 5 I'm currently seeing this being triggered by the "Calls To Action" plugin. See http://support.inboundnow.com/support/topic/calls-to-action-breaking-wordpress-image-upload/