[wp-trac] [WordPress Trac] #47905: rest_validate_value_from_schema() shows the value instead of the param when it's invalid.
WordPress Trac
noreply at wordpress.org
Tue Aug 20 18:24:10 UTC 2019
#47905: rest_validate_value_from_schema() shows the value instead of the param when
it's invalid.
----------------------------+-----------------------------
Reporter: manzoorwani.jk | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version:
Severity: normal | Keywords:
Focuses: rest-api |
----------------------------+-----------------------------
The second argument of `sprintf`
[https://core.trac.wordpress.org/browser/tags/5.2/src/wp-includes/rest-
api.php#L1197 here] and
[https://core.trac.wordpress.org/browser/tags/5.2/src/wp-includes/rest-
api.php#L1221 here] should be `$param` instead of `$value`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/47905>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list