[wp-trac] [WordPress Trac] #51293: Add $option Parameter to wp_send_json, wp_send_json_success and wp_send_json_error

WordPress Trac noreply at wordpress.org
Thu Oct 15 17:12:56 UTC 2020


#51293: Add $option Parameter to wp_send_json, wp_send_json_success and
wp_send_json_error
-----------------------------+-----------------------------
 Reporter:  eroraghav        |       Owner:  SergeyBiryukov
     Type:  feature request  |      Status:  reviewing
 Priority:  normal           |   Milestone:  5.6
Component:  General          |     Version:  5.5.1
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+-----------------------------
Changes (by Hareesh Pillai):

 * Attachment "51293.diff" added.

 Refreshed the patch against trunk.  Also, changed the `$option` parameter
 in the PR to `$options` to maintain consistency with `wp_json_encode`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51293>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list