[wp-trac] [WordPress Trac] #37560: Enable sanitize_callback to return WP_Error

WordPress Trac noreply at wordpress.org
Wed Sep 14 15:12:48 UTC 2016


#37560: Enable sanitize_callback to return WP_Error
--------------------------+--------------------------
 Reporter:  websupporter  |       Owner:  rachelbaker
     Type:  enhancement   |      Status:  assigned
 Priority:  normal        |   Milestone:  4.7
Component:  REST API      |     Version:  4.4
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+--------------------------
Changes (by rmccue):

 * keywords:   => has-patch
 * version:   => 4.4


Comment:

 Updated the patch and added a unit test to check it's working as expected.

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


More information about the wp-trac mailing list