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:
parent
eb79d7f1ee
commit
e834dc8935
@ -1026,6 +1026,8 @@ class WP_Automatic_Updater {
|
|||||||
/**
|
/**
|
||||||
* Filters the email sent following an automatic background plugin update.
|
* Filters the email sent following an automatic background plugin update.
|
||||||
*
|
*
|
||||||
|
* @since 5.5.0
|
||||||
|
*
|
||||||
* @param array $email {
|
* @param array $email {
|
||||||
* Array of email arguments that will be passed to wp_mail().
|
* 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.
|
* @param object $failed_updates The updates that failed.
|
||||||
*/
|
*/
|
||||||
$email = apply_filters( 'auto_plugin_theme_update_email', $email, $type, $successful_updates, $failed_updates );
|
$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'] );
|
wp_mail( $email['to'], wp_specialchars_decode( $email['subject'] ), $email['body'], $email['headers'] );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user