[wp-trac] [WordPress Trac] #32496: Ajax error response for update-widget always returns empty message
WordPress Trac
noreply at wordpress.org
Mon May 25 21:57:51 UTC 2015
#32496: Ajax error response for update-widget always returns empty message
--------------------------+-----------------
Reporter: westonruter | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.3
Component: Customize | Version: 4.2
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------
The `WP_Customize_Widgets::call_widget_update()` return a `WP_Error`
instance when an error occurs. The instances are created with codes and
not messages. However, when the `update-widget` Ajax request encounters
this error, it then sends back the error info incorrectly by sending the
message, when it is blank, and the code should be sent instead.
Introduced in r31370.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32496>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list