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
This commit is contained in:
parent
308f752596
commit
71ffaac835
|
@ -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'] );
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue