[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
Thu Jun 10 11:51:11 UTC 2021


#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 needs-unit-tests  |     Focuses:  rest-api
----------------------------------------+-----------------------------
Changes (by jonmcpartland):

 * Attachment "53372.1.diff" added.

 patch with tests

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53372>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list