[wp-trac] [WordPress Trac] #45486: Docs: Correct the inline documentation for rest_sanitize_value_from_schema()
WordPress Trac
noreply at wordpress.org
Fri Dec 7 19:35:25 UTC 2018
#45486: Docs: Correct the inline documentation for
rest_sanitize_value_from_schema()
----------------------------------------+-----------------------------
Reporter: birgire | Owner: SergeyBiryukov
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 5.1
Component: REST API | Version: 4.7
Severity: normal | Resolution:
Keywords: good-first-bug needs-patch | Focuses: docs
----------------------------------------+-----------------------------
Comment (by Jean-David):
Actually, the last line of this function returns the original $value
passed in first parameters.
@birgire In this case, is it considered mixed type as we don't know the
value passed in parameters ?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45486#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list