Make WordPress Core

Opened 12 years ago

Closed 12 years ago

#11745 closed defect (bug) (fixed)

deprecate validate_email()

Reported by: Denis-de-Bernardy Owned by: wpmuguru
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Multisite Keywords: has-patch commit
Focuses: Cc:


wp-includes/ms-functions.php contains new functions such as is_email_address_unsafe() and validate_email().

we should at least deprecate validate_email() in favor of is_email().

Attachments (1)

11745.diff (385 bytes) - added by ShaneF 12 years ago.
added '_deprecated_function' to 'validate_email'

Download all attachments as: .zip

Change History (6)

#1 @wpmuguru
12 years ago

  • Owner set to wpmuguru
  • Status changed from new to accepted

The is_email_address_unsafe is for preventing signups using email addresses that are banned by a super admin.

#2 @wpmuguru
12 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

(In [12863]) deprecate validate_email(), fixes #11745

12 years ago

added '_deprecated_function' to 'validate_email'

#3 @ShaneF
12 years ago

  • Keywords has-patch commit added
  • Resolution fixed deleted
  • Status changed from closed to reopened

Just need to add the '_deprecated_function' function inside validate_email function so so people can be advised to update.

#4 @nacin
12 years ago

Committer: Should be 'is_email()'.

#5 @ryan
12 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.