Opened 9 years ago
Closed 9 years ago
#32496 closed defect (bug) (fixed)
Ajax error response for update-widget always returns empty message
Reported by: | westonruter | Owned by: | westonruter |
---|---|---|---|
Milestone: | 4.3 | Priority: | normal |
Severity: | normal | Version: | 4.2 |
Component: | Customize | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
https://github.com/xwp/wordpress-develop/pull/86