Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #55078


Ignore:
Timestamp:
02/04/2022 01:03:39 PM (3 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #55078

    • Property Type changed from defect (bug) to enhancement
  • Ticket #55078 – Description

    initial v2  
    11Background: #42937, #54955.
    22
    3 As a result of [52170] and [52672], `_enqueues/lib/ajax-response.js` has a [source:trunk/src/js/_enqueues/lib/ajax-response.js?rev=52672&marks=30-32#L20 hardcoded check for edit-tags.php], which seems unnecessarily specific.
     3As a result of [52170] and [52672], `_enqueues/lib/ajax-response.js` has a [source:trunk/src/js/_enqueues/lib/ajax-response.js?rev=52672&marks=30-32#L20 hardcoded check for edit-tags.php], which seems unnecessarily specific. As noted in comment:6:ticket:54955, this is less than ideal and was added as a temporary measure.
    44
    55We should find a better way to pass the success message in an Ajax response, that could also be reused in other places. Maybe passing it as part of the `supplemental` data would work?