Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #38984, comment 6


Ignore:
Timestamp:
11/30/2016 02:15:46 AM (8 years ago)
Author:
jnylen0
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #38984, comment 6

    initial v1  
    1 Should be fine either way.  I only changed it because `rest_sanitize_value_from_schema` uses `strval` ([https://core.trac.wordpress.org/browser/trunk/src/wp-includes/rest-api.php?rev=39329&marks=1164-1166#L1164 ref]).
     1Should be fine either way.  I only changed it because `rest_sanitize_value_from_schema` uses `strval` ([https://core.trac.wordpress.org/browser/trunk/src/wp-includes/rest-api.php?rev=39329&marks=1164-1166#L1164 ref]).  (When this code was originally written, that conversion to string wasn't present.)