mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Mark validate_email() with _deprecated_function(). Props ShaneF. fixes #11745
git-svn-id: http://svn.automattic.com/wordpress/trunk@12868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
15579ed49a
commit
4d5e716f1c
@ -129,6 +129,7 @@ function is_main_blog() {
|
||||
* @deprecated 3.0
|
||||
*/
|
||||
function validate_email( $email, $check_domain = true) {
|
||||
_deprecated_function( __FUNCTION__, '3.0', 'is_email()' );
|
||||
return is_email( $email, $check_domain );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user