WordPress.org

Make WordPress Core

Ticket #11745: 11745.diff

File 11745.diff, 385 bytes (added by ShaneF, 6 years ago)

added '_deprecated_function' to 'validate_email'

  • ms-deprecated.php

     
    129129 * @deprecated 3.0 
    130130 */ 
    131131function validate_email( $email, $check_domain = true) { 
     132        _deprecated_function( __FUNCTION__, '3.0', 'is_email' ); 
    132133        return is_email( $email, $check_domain ); 
    133134} 
    134135