Docs: Add missing @since tag for auto_plugin_theme_update_email filter.

See #50052.
Built from https://develop.svn.wordpress.org/trunk@47836


git-svn-id: http://core.svn.wordpress.org/trunk@47612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-05-20 19:33:10 +00:00
parent 661b929e1e
commit ba03c426db
2 changed files with 4 additions and 1 deletions

View File

@ -1026,6 +1026,8 @@ class WP_Automatic_Updater {
/**
* Filters the email sent following an automatic background plugin update.
*
* @since 5.5.0
*
* @param array $email {
* Array of email arguments that will be passed to wp_mail().
*
@ -1041,6 +1043,7 @@ class WP_Automatic_Updater {
* @param object $failed_updates The updates that failed.
*/
$email = apply_filters( 'auto_plugin_theme_update_email', $email, $type, $successful_updates, $failed_updates );
wp_mail( $email['to'], wp_specialchars_decode( $email['subject'] ), $email['body'], $email['headers'] );
}

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.5-alpha-47835';
$wp_version = '5.5-alpha-47836';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.