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

WordPress Trac noreply at wordpress.org
Fri Apr 15 17:28:22 UTC 2016


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

Comment (by swissspidy):

 Not (yet) familiar with `_wp_json_prepare_data()`, so maybe anyone else
 can write a test highlighting the bug and how the patch(es) fixes it?

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


More information about the wp-trac mailing list