[wp-trac] [WordPress Trac] #45748: Use email_exists in send_confirmation_on_profile_email
WordPress Trac
noreply at wordpress.org
Tue Jan 8 06:06:09 UTC 2019
#45748: Use email_exists in send_confirmation_on_profile_email
--------------------------------------+---------------------
Reporter: spacedmonkey | Owner: pento
Type: enhancement | Status: closed
Priority: normal | Milestone: 5.1
Component: Users | Version: 3.0
Severity: normal | Resolution: fixed
Keywords: good-first-bug has-patch | Focuses:
--------------------------------------+---------------------
Changes (by pento):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"44465" 44465]:
{{{
#!CommitTicketReference repository="" revision="44465"
Users: Use `email_exists()` in `send_confirmation_on_profile_email()`,
instead of a manual query.
This gives us caching, and removes the use of the `$wpdb` global.
Props spacedmonkey, pento.
Fixes #45748.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45748#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list