Opened 3 years ago

Closed 3 years ago

#11745 closed defect (bug) (fixed)

deprecate validate_email()

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

Description

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 3 years ago.
added '_deprecated_function' to 'validate_email'

Download all attachments as: .zip

Change History (6)

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

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

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

ShaneF3 years ago

added '_deprecated_function' to 'validate_email'

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

Committer: Should be 'is_email()'.

comment:5   ryan3 years ago

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