From 2afabce1c1dd8b6a7f8460df578c7978d3e24088 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 28 Aug 2020 02:36:39 +0000 Subject: [PATCH] Docs: Correct formatting of the `auto_theme_update_send_email` filter DocBlock. Synchronize description of the `$enabled` parameter with the `auto_plugin_update_send_email` filter. Follow-up to [48889]. See #50768, #50988. git-svn-id: https://develop.svn.wordpress.org/trunk@48903 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-automatic-updater.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/includes/class-wp-automatic-updater.php b/src/wp-admin/includes/class-wp-automatic-updater.php index 6f9bf7ec0f..4a093b4573 100644 --- a/src/wp-admin/includes/class-wp-automatic-updater.php +++ b/src/wp-admin/includes/class-wp-automatic-updater.php @@ -889,9 +889,9 @@ class WP_Automatic_Updater { * Filters whether to send an email following an automatic background plugin update. * * @since 5.5.0 - * @since 5.5.1 Added the $update_results parameter. + * @since 5.5.1 Added the `$update_results` parameter. * - * @param bool $enabled True if plugins notifications are enabled, false otherwise. + * @param bool $enabled True if plugin update notifications are enabled, false otherwise. * @param array $update_results The results of plugins update tasks. */ $notifications_enabled = apply_filters( 'auto_plugin_update_send_email', true, $update_results['plugin'] ); @@ -910,9 +910,9 @@ class WP_Automatic_Updater { * Filters whether to send an email following an automatic background theme update. * * @since 5.5.0 - * @since 5.5.1 Added the $update_results parameter. + * @since 5.5.1 Added the `$update_results` parameter. * - * @param bool $enabled True if notifications are enabled, false otherwise. + * @param bool $enabled True if theme update notifications are enabled, false otherwise. * @param array $update_results The results of theme update tasks. */ $notifications_enabled = apply_filters( 'auto_theme_update_send_email', true, $update_results['theme'] );