[wp-trac] [WordPress Trac] #29932: There is no error reporting in the Customizer
WordPress Trac
noreply at wordpress.org
Mon Jan 11 19:49:46 UTC 2016
#29932: There is no error reporting in the Customizer
-------------------------+-----------------------------------------
Reporter: Fab1en | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.5
Component: Customize | Version: 3.4
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: javascript, administration
-------------------------+-----------------------------------------
Changes (by westonruter):
* milestone: Future Release => 4.5
Old description:
> As far as I know, there is no way to display an error to the user when
> he/she is using the theme customizer.
>
> An error that I'm facing some time to time when I test WordPress locally
> is when `wp-content/uploads` is not writable. Then, uploading a new image
> to use as a background in the customizer does not work, but this fails
> silently.
>
> This error reporting should be built-in inside `WP_Customize_Control`
> class so that any control that extends this class can throws a custom
> error and displays it to the user.
New description:
As far as I know, there is no way to display an error to the user when
he/she is using the theme customizer.
An error that I'm facing some time to time when I test WordPress locally
is when `wp-content/uploads` is not writable. Then, uploading a new image
to use as a background in the customizer does not work, but this fails
silently.
This error reporting should be built-in inside `WP_Customize_Control`
class so that any control that extends this class can throws a custom
error and displays it to the user.
Depends on #35210.
--
Comment:
To work on as part of implementing the notification area (#35210).
See also:
* #31582: Catching PHP Fatal Errors on WordPress Theme Customizer
* #34893: Improve Customizer setting validation model
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29932#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list