diff --git src/wp-includes/js/customize-preview.js src/wp-includes/js/customize-preview.js
index a24be104f2..c5ea964461 100644
|
|
|
451 | 451 | if ( ! api.settings.theme.active ) { |
452 | 452 | queryParams.customize_theme = api.settings.theme.stylesheet; |
453 | 453 | } |
| 454 | |
| 455 | // Ensure preview nonce is included with every customized request, to allow post data to be read. |
| 456 | queryParams.customize_preview_nonce = api.settings.nonce.preview; |
| 457 | |
454 | 458 | urlParser.search = $.param( queryParams ); |
455 | 459 | options.url = urlParser.href; |
456 | 460 | }; |