From 71ffaac835ffab2bccb50c0aad348a540efece15 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 28 Aug 2020 02:38:05 +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. Built from https://develop.svn.wordpress.org/trunk@48903 git-svn-id: http://core.svn.wordpress.org/trunk@48665 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-automatic-updater.php | 8 ++++---- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-admin/includes/class-wp-automatic-updater.php b/wp-admin/includes/class-wp-automatic-updater.php index 6f9bf7ec0f..4a093b4573 100644 --- a/wp-admin/includes/class-wp-automatic-updater.php +++ b/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'] ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 9d2dc2799a..54d0ac9eb2 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-48899'; +$wp_version = '5.6-alpha-48903'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.