From ba03c426db5a929907ac37de9c34f307114be6d9 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 20 May 2020 19:33:10 +0000 Subject: [PATCH] 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 --- wp-admin/includes/class-wp-automatic-updater.php | 3 +++ wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/wp-admin/includes/class-wp-automatic-updater.php b/wp-admin/includes/class-wp-automatic-updater.php index 20f1847de7..ef5690faac 100644 --- a/wp-admin/includes/class-wp-automatic-updater.php +++ b/wp-admin/includes/class-wp-automatic-updater.php @@ -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'] ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 2a851001a0..7215698841 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.