[wp-trac] [WordPress Trac] #45845: Use get_user_by in check_password_reset_key

WordPress Trac noreply at wordpress.org
Mon Jan 7 01:08:54 UTC 2019


#45845: Use get_user_by in check_password_reset_key
--------------------------+----------------------------------------
 Reporter:  spacedmonkey  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Users         |    Version:  3.1
 Severity:  normal        |   Keywords:  needs-patch good-first-bug
  Focuses:  performance   |
--------------------------+----------------------------------------
 In check_password_reset_key, there is an uncached call to users table.
 This could easily be replaced with get_user_by that is cached.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45845>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list