Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#45748 closed enhancement (fixed)

Use email_exists in send_confirmation_on_profile_email

Reported by: spacedmonkey Owned by: pento
Priority: normal Milestone: 5.1
Component: Users Version: 3.0
Severity: normal Keywords: good-first-bug has-patch
Cc: Focuses:

Description

Use email_exists in send_confirmation_on_profile_email function, as email_exists is a cached call.

Attachments (1)

45748.diff (499 bytes ) - added by spacedmonkey 8 years ago.

Download all attachments as: .zip

Change History (5)

@spacedmonkey
8 years ago

#1 @SergeyBiryukov
8 years ago

  • Milestone Awaiting Review5.1
  • Owner set to SergeyBiryukov
  • Status newreviewing

#2 @pento
8 years ago

  • Owner changed from SergeyBiryukov to pento
  • Status reviewingaccepted

#3 @pento
8 years ago

  • Resolutionfixed
  • Status acceptedclosed

In 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.

#4 @pento
8 years ago

In 44470:

Coding Standards: Fix an error introduced in [44465].

See #45748.

Note: See TracTickets for help on using tickets.