mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
661b929e1e
commit
ba03c426db
@ -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'] );
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user