[wp-trac] [WordPress Trac] #32496: Ajax error response for update-widget always returns empty message

WordPress Trac noreply at wordpress.org
Mon May 25 22:08:11 UTC 2015


#32496: Ajax error response for update-widget always returns empty message
------------------------------+--------------------------
 Reporter:  westonruter       |       Owner:  westonruter
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  4.3
Component:  Customize         |     Version:  4.2
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+--------------------------
Changes (by westonruter):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"32601"]:
 {{{
 #!CommitTicketReference repository="" revision="32601"
 Fix wp_send_json_error() response for update-widget Ajax request, to
 return error code instead of error message, as the WP_Error objects are
 instantiated with codes and the messages are empty.

 Fixes #32496.
 }}}

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


More information about the wp-trac mailing list