Customizer: Some error handling should be included, e.g. for cookie expiration
|Reported by:||ocean90||Owned by:||ryan|
You are customizing your theme and suddenly your cookies are expired, then the Customizer doesn't show any notice.
Changes via postMessage are still visible, but changes which need an iframe refresh aren't visible, since the server response is an error. It includes the HTML page for the Cheatin’ uh? message.
Another problem is, when you try to save the changes. You can click the button, you will see the spinning image and the button text is changing to Saved. But it doesn't save anything, because the server response is an error again. Now a raw Cheatin’ uh? message.
Seems like we need an extra wp_die handler for the Customizer.
Change History (19)
- Keywords commit added
- Owner changed from koopersmith to ryan
- Status changed from assigned to reviewing