Docs: Add a @since note to wp_mail() about using is_email() for validation.

Follow-up to [48645].

See #52628.

git-svn-id: https://develop.svn.wordpress.org/trunk@50781 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2021-04-21 19:45:26 +00:00
parent 5aae96ba8b
commit 63f52a63f1

View File

@@ -158,6 +158,8 @@ if ( ! function_exists( 'wp_mail' ) ) :
* be set using the {@see 'wp_mail_charset'} filter.
*
* @since 1.2.1
* @since 5.5.0 is_email() is used for email validation,
* instead of PHPMailer's default validator.
*
* @global PHPMailer\PHPMailer\PHPMailer $phpmailer
*