[wp-trac] [WordPress Trac] #45486: Docs: Correct the inline documentation for rest_sanitize_value_from_schema()

WordPress Trac noreply at wordpress.org
Tue Dec 4 19:56:49 UTC 2018


#45486: Docs: Correct the inline documentation for
rest_sanitize_value_from_schema()
----------------------------------------+------------------------------
 Reporter:  birgire                     |       Owner:  (none)
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  General                     |     Version:  4.7
 Severity:  normal                      |  Resolution:
 Keywords:  good-first-bug needs-patch  |     Focuses:  docs
----------------------------------------+------------------------------

Comment (by Jean-David):

 First timer here, I hope I did everything right.

 Actually, none of the code in the function returns a WP_Error; the
 **rest_sanitize_boolean** and **sanitize_text_field** don't.

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


More information about the wp-trac mailing list