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

WordPress Trac noreply at wordpress.org
Mon Apr 11 16:00:01 UTC 2016


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

Comment (by rachelbaker):

 @rmccue @swissspidy or @pento Can you take a look?  I cannot tell from
 [34926] if the intent was for the result of `_wp_json_prepare_data` to be
 passed to `json_encode` always OR only if `json_encode()` fails.

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


More information about the wp-trac mailing list