Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#42162 closed defect (bug) (fixed)

Customize: Ajax requests in preview do not have pending customized state applied to them

Reported by: westonruter's profile westonruter Owned by: westonruter's profile westonruter
Milestone: 4.9 Priority: normal
Severity: normal Version: 4.8.2
Component: Customize Keywords: has-patch
Focuses: Cc:


In [40704] we added a nonce for each Customizer preview request as a signal for whether or not the customized POST data should be read from. If it is not present or the nonce is invalid, then only the data already written into the changeset will be applied to the response, with the values in customized that are pending to be written into the changeset ignored entirely. Unfortunately, we missed also applying the same change customize-preview.js meaning that Ajax requests in the preview currently do not get this the changeset-pending customized state applied to it.

Originally reported in

Attachments (1)

42162.0.diff (612 bytes) - added by westonruter 7 years ago.

Download all attachments as: .zip

Change History (4)

7 years ago

#1 @westonruter
7 years ago

  • Keywords has-patch added
  • Milestone changed from Awaiting Review to 4.9
  • Owner set to westonruter
  • Status changed from new to accepted

#2 @westonruter
7 years ago

In 41804:

Customize: Ensure customized changes pending to be written into changeset are successfully injected into Ajax requests in preview.

Amends [40704].
See #42162.

#3 @westonruter
7 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed
  • Version set to 4.8.2
Note: See TracTickets for help on using tickets.