Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #36358


Ignore:
Timestamp:
03/28/2016 05:14:16 PM (9 years ago)
Author:
swissspidy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36358 – Description

    initial v1  
    11I was looking at the `wp_json_encode()` function for unrelated reasons and noticed a code oddity where the return of a function call to `_wp_json_prepare_data()` which was intentionally introduced was being disregarded.
    22
    3 The code was introduced in #34926 by @rmccue.
     3The code was introduced in [34926] by @rmccue.
    44
    55I'm including three different patches which each solve the issue in a slightly different way.