[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 10:56:45 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:  has-patch     |     Focuses:  rest-api
--------------------------+------------------------------
Changes (by wpboss):

 * Attachment "45448-1.diff" added.

 I have fixed as per your suggestion.

-- 
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