[wp-trac] [WordPress Trac] #28227: Customizer: Error message instead of blank screen

WordPress Trac noreply at wordpress.org
Sat Oct 8 15:50:06 UTC 2016


#28227: Customizer: Error message instead of blank screen
-------------------------------+-----------------------------
 Reporter:  alexander.rohmann  |       Owner:
     Type:  enhancement        |      Status:  new
 Priority:  normal             |   Milestone:  Future Release
Component:  Customize          |     Version:  3.9.1
 Severity:  normal             |  Resolution:
 Keywords:  needs-patch        |     Focuses:  ui, javascript
-------------------------------+-----------------------------

Comment (by westonruter):

 This is largely implemented now in #30937. Now when there is an error when
 loading the preview you'll see the error message that the server outputs
 (assuming you have `WP_DEBUG` enabled).  One exception is when doing a
 refresh, any such error will not be shown since the refreshed iframe won't
 be displayed. If there is going to be a notification of an actual error
 even without `WP_DEBUG` then this will depend in part on having a
 notification area (#35210). Technically how the customizer will know there
 is an error when loading the page is that it will never receive a `ready`
 message, and thus it will know that there was a problem loading the
 window. This could be due to a server error or a network error.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28227#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list