From aa3d0715abc8fbf9c3839c0752ec161fa1047c4b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 21 Apr 2021 19:47:01 +0000 Subject: [PATCH] Docs: Add a `@since` note to `wp_mail()` about using `is_email()` for validation. Follow-up to [48645]. See #52628. Built from https://develop.svn.wordpress.org/trunk@50781 git-svn-id: http://core.svn.wordpress.org/trunk@50390 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/pluggable.php | 2 ++ wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index c53a723fc4..b5e39d7a19 100644 --- a/wp-includes/pluggable.php +++ b/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 * diff --git a/wp-includes/version.php b/wp-includes/version.php index f588288138..021c1c5fa8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-50780'; +$wp_version = '5.8-alpha-50781'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.