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:
parent
784b1fb1b1
commit
aa3d0715ab
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue