[wp-trac] [WordPress Trac] #44672: REST-API: invalid email on lowercase/uppercase change

WordPress Trac noreply at wordpress.org
Thu Jan 17 20:44:15 UTC 2019


#44672: REST-API: invalid email on lowercase/uppercase change
---------------------------------------------+-----------------------
 Reporter:  fuchsws                          |       Owner:  desrosj
     Type:  defect (bug)                     |      Status:  assigned
 Priority:  normal                           |   Milestone:  5.1
Component:  REST API                         |     Version:  4.9.7
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-----------------------
Changes (by desrosj):

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests commit


Comment:

 [attachment:"44672.3.diff"] moves the assignment outside of the
 conditional and adds an explicit assertion for the
 `rest_user_invalid_email` code to
 `test_update_item_existing_email_case_not_own`.

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


More information about the wp-trac mailing list