[wp-trac] [WordPress Trac] #38984: REST API: Fix incorrect calls to `rest_sanitize_value_from_schema`
WordPress Trac
noreply at wordpress.org
Wed Nov 30 02:12:23 UTC 2016
#38984: REST API: Fix incorrect calls to `rest_sanitize_value_from_schema`
--------------------------+--------------------
Reporter: jnylen0 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+--------------------
Comment (by jnylen0):
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]).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38984#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list