[wp-trac] [WordPress Trac] #52529: Non-slashed $old_user_data->user_email in wp_insert_user causes user_activation_key to be unset

WordPress Trac noreply at wordpress.org
Thu Oct 5 17:38:17 UTC 2023


#52529: Non-slashed $old_user_data->user_email in wp_insert_user causes
user_activation_key to be unset
-------------------------------------------------+-------------------------
 Reporter:  emirpprime                           |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.4
Component:  Login and Registration               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests changes-    |     Focuses:
  requested                                      |
-------------------------------------------------+-------------------------
Changes (by oglekler):

 * keywords:  has-patch needs-unit-tests => has-patch has-unit-tests
     changes-requested


Comment:

 @rajinsharwar you don't have an apostrophe in your unit test. I think it
 needs unit test, and you just need to adjust yours a bit (to add this
 apostrophe into the email), reopen the PR and add `needs-testing`. It
 looks like this PR is almost ready, so let's try to finish it. Thank you!

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


More information about the wp-trac mailing list