[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 18:12:14 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
--------------------------+------------------------------

Comment (by birgire):

 Thanks for the update @wpboss

 ps: I created a new ticket #45486 for the correction of the inline
 documentation of {{{rest_sanitize_value_from_schema()}}} that I noticed
 here.

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


More information about the wp-trac mailing list