Docs: Add missing `@since` tag for `auto_plugin_theme_update_email` filter.

See #50052.

git-svn-id: https://develop.svn.wordpress.org/trunk@47836 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-05-20 19:31:50 +00:00
parent eb79d7f1ee
commit e834dc8935
1 changed files with 3 additions and 0 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'] );
}