[wp-trac] [WordPress Trac] #45448: rest_sanitize_value_from_schema() returns invalid value when using a schema of type array with a null value

WordPress Trac noreply at wordpress.org
Tue Dec 4 07:59:33 UTC 2018


#45448: rest_sanitize_value_from_schema() returns invalid value when using a schema
of type array with a null value
--------------------------+------------------------------
 Reporter:  hogash        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  4.9.8
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  rest-api
--------------------------+------------------------------
Changes (by wpboss):

 * Attachment "45448.diff" added.

 I have fixed this and test it.

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


More information about the wp-trac mailing list