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
This commit is contained in:
Sergey Biryukov 2021-04-21 19:47:01 +00:00
parent 784b1fb1b1
commit aa3d0715ab
2 changed files with 3 additions and 1 deletions

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
*

View File

@ -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.