[wp-trac] [WordPress Trac] #38984: REST API: Fix incorrect calls to `rest_sanitize_value_from_schema`

WordPress Trac noreply at wordpress.org
Wed Nov 30 23:03:11 UTC 2016


#38984: REST API: Fix incorrect calls to `rest_sanitize_value_from_schema`
-------------------------------------------+--------------------------
 Reporter:  jnylen0                        |       Owner:  rachelbaker
     Type:  defect (bug)                   |      Status:  assigned
 Priority:  normal                         |   Milestone:  4.7
Component:  REST API                       |     Version:  trunk
 Severity:  normal                         |  Resolution:
 Keywords:  has-patch commit dev-feedback  |     Focuses:
-------------------------------------------+--------------------------
Changes (by rachelbaker):

 * keywords:  has-patch => has-patch commit dev-feedback
 * owner:   => rachelbaker
 * status:  new => assigned


Comment:

 +1 on [attachment:38984.2.diff] which just removes the added `strval()`
 function in `check_user_password()` and `check_username()`.

 Still needs another permanent committer to review.

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


More information about the wp-trac mailing list