diff --git a/src/wp-admin/includes/class-core-upgrader.php b/src/wp-admin/includes/class-core-upgrader.php index 87596e1da6..a7a1d05f2b 100644 --- a/src/wp-admin/includes/class-core-upgrader.php +++ b/src/wp-admin/includes/class-core-upgrader.php @@ -48,14 +48,14 @@ class Core_Upgrader extends WP_Upgrader { * * @param object $current Response object for whether WordPress is current. * @param array $args { - * Optional. Arguments for upgrading WordPress core. Default empty array. + * Optional. Arguments for upgrading WordPress core. Default empty array. * - * @type bool $pre_check_md5 Whether to check the file checksums before - * attempting the upgrade. Default true. - * @type bool $attempt_rollback Whether to attempt to rollback the chances if - * there is a problem. Default false. - * @type bool $do_rollback Whether to perform this "upgrade" as a rollback. - * Default false. + * @type bool $pre_check_md5 Whether to check the file checksums before + * attempting the upgrade. Default true. + * @type bool $attempt_rollback Whether to attempt to rollback the chances if + * there is a problem. Default false. + * @type bool $do_rollback Whether to perform this "upgrade" as a rollback. + * Default false. * } * @return string|false|WP_Error New WordPress version on success, false or WP_Error on failure. */ diff --git a/src/wp-admin/update-core.php b/src/wp-admin/update-core.php index 1ff783f041..ae3924c9b2 100644 --- a/src/wp-admin/update-core.php +++ b/src/wp-admin/update-core.php @@ -421,6 +421,14 @@ function core_auto_updates_settings() { * Fires after the major core auto-update settings. * * @since 5.6.0 + * + * @param array $auto_update_settings { + * Array of core auto-update settings. + * + * @type bool $dev Whether to enable automatic updates for development versions. + * @type bool $minor Whether to enable minor automatic core updates. + * @type bool $major Whether to enable major automatic core updates. + * } */ do_action( 'after_core_auto_updates_settings', $auto_update_settings ); }