[wp-trac] [WordPress Trac] #53372: Loose type check against dates in rest_validate_value_from_schema causes invalidation for valid timestamp
WordPress Trac
noreply at wordpress.org
Tue Feb 25 15:47:47 UTC 2025
#53372: Loose type check against dates in rest_validate_value_from_schema causes
invalidation for valid timestamp
-------------------------------------------------+-------------------------
Reporter: jonmcpartland | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future
| Release
Component: REST API | Version:
Severity: minor | Resolution:
Keywords: has-patch has-unit-tests close 2nd- | Focuses: rest-api
opinion |
-------------------------------------------------+-------------------------
Changes (by sabernhardt):
* keywords: has-patch has-unit-tests => has-patch has-unit-tests close
2nd-opinion
Comment:
I added the `close` keyword, but would it be worth including the extra
assertions from 53372.1.diff in the unit test?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53372#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list