[wp-trac] [WordPress Trac] #45745: wp_new_user_notification should use get_password_reset_key

WordPress Trac noreply at wordpress.org
Fri Dec 28 15:41:12 UTC 2018


#45745: wp_new_user_notification should use get_password_reset_key
----------------------------------------+------------------------------
 Reporter:  spacedmonkey                |       Owner:  (none)
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Users                       |     Version:  4.4
 Severity:  normal                      |  Resolution:
 Keywords:  good-first-bug needs-patch  |     Focuses:
----------------------------------------+------------------------------
Description changed by SergeyBiryukov:

Old description:

> Since the function `get_password_reset_key` was introducted in
> [https://core.trac.wordpress.org/changeset/34923 34923] it means, there
> is now repeated logic in the function `wp_new_user_notification` has
> repeated logic. This should be replaced.

New description:

 Since the function `get_password_reset_key` was introducted in [34923] it
 means, there is now repeated logic in the function
 `wp_new_user_notification` has repeated logic. This should be replaced.

--

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


More information about the wp-trac mailing list