[wp-trac] [WordPress Trac] #36358: Return of _wp_json_prepare_data() in wp_json_encode() should be used.

WordPress Trac noreply at wordpress.org
Tue May 17 03:54:40 UTC 2016


#36358: Return of _wp_json_prepare_data() in wp_json_encode() should be used.
--------------------------------------------------+---------------------
 Reporter:  jrf                                   |       Owner:  rmccue
     Type:  defect (bug)                          |      Status:  closed
 Priority:  normal                                |   Milestone:  4.6
Component:  General                               |     Version:  4.4
 Severity:  normal                                |  Resolution:  fixed
 Keywords:  has-patch needs-unit-tests 4.6-early  |     Focuses:
--------------------------------------------------+---------------------
Changes (by rmccue):

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


Comment:

 In [changeset:"37444"]:
 {{{
 #!CommitTicketReference repository="" revision="37444"
 REST API: Use prepared JSON data correctly.

 This was modifying a variable that was never used. Oops.

 Fixes #36358.
 Props jrf.
 }}}

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


More information about the wp-trac mailing list