[wp-trac] [WordPress Trac] #20876: Customizer: Some error handling should be included, e.g. for cookie expiration

WordPress Trac wp-trac at lists.automattic.com
Thu Jun 7 14:09:31 UTC 2012


#20876: Customizer: Some error handling should be included, e.g. for cookie
expiration
--------------------------+-------------------------
 Reporter:  ocean90       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  3.4
Component:  Appearance    |    Version:  3.4
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20876>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list