[wp-trac] [WordPress Trac] #29098: Send JSON success for customize_save and allow response to be filtered

WordPress Trac noreply at wordpress.org
Sat Jan 3 22:59:34 UTC 2015


#29098: Send JSON success for customize_save and allow response to be filtered
-----------------------------+-------------------------
 Reporter:  westonruter      |       Owner:  ocean90
     Type:  enhancement      |      Status:  reviewing
 Priority:  normal           |   Milestone:  4.2
Component:  Customize        |     Version:  3.4
 Severity:  normal           |  Resolution:
 Keywords:  has-patch early  |     Focuses:  javascript
-----------------------------+-------------------------
Changes (by westonruter):

 * keywords:  has-patch => has-patch early
 * owner:   => ocean90
 * status:  new => reviewing
 * milestone:  Future Release => 4.2


Comment:

 In [attachment:29098.2.diff]:

  * Refresh patch
  * Bump `@since` to 4.2.0
  * Use `wp.ajax.post()` and the promise `fail` callback since we're using
 `wp_send_json_success()` and `wp_send_json_error()`.

 Having this in place is a prerequisite for things that I need to do for
 Menu Customizer, and it will also be useful for #30028.

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


More information about the wp-trac mailing list