Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #37266


Ignore:
Timestamp:
04/19/2019 09:01:39 PM (6 years ago)
Author:
desrosj
Comment:

Hi @pembo13,

My apologies that it took so long to receive a response to this ticket.

This seems like an issue with the Calls to Action plugin WordPress Core can't account for plugins overwriting variables with the same names. If I am misinterpreting the issue, feel free to reopen with more details and some code to demonstrate the issue.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37266

    • Property Status changed from new to closed
    • Property Resolution changed from to invalid
    • Property Component changed from General to Administration
    • Property Milestone changed from Awaiting Review to
  • Ticket #37266 – Description

    initial v2  
    11When 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.
    22
    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.
     3As 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.
    44
    55I'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/