From 63f52a63f158ac497e6670e0403199c69eef7e5f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 21 Apr 2021 19:45:26 +0000 Subject: [PATCH] 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 --- src/wp-includes/pluggable.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wp-includes/pluggable.php b/src/wp-includes/pluggable.php index c53a723fc4..b5e39d7a19 100644 --- a/src/wp-includes/pluggable.php +++ b/src/wp-includes/pluggable.php @@ -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 *