From 45f1fbbcebeed96a29d383f5d6bead89a92dff1e Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Tue, 17 Sep 2019 20:42:57 +0000 Subject: [PATCH] Docs: Add missing descriptions for functions in `wp-admin/update-core.php`. Also, fix the `@since` annotation added in [45480] to include the correct version. Props SergeyBiryukov, ajayghaghretiya1. Fixes #47424. git-svn-id: https://develop.svn.wordpress.org/trunk@46161 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/update-core.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/update-core.php b/src/wp-admin/update-core.php index cf84548752..e2696ebf62 100644 --- a/src/wp-admin/update-core.php +++ b/src/wp-admin/update-core.php @@ -172,6 +172,8 @@ function list_core_update( $update ) { } /** + * Display dismissed updates. + * * @since 2.7.0 */ function dismissed_updates() { @@ -285,7 +287,7 @@ function core_upgrade_preamble() { /** * Display the upgrade plugins form. * - * @since 2.7.0 + * @since 2.9.0 */ function list_plugin_updates() { $wp_version = get_bloginfo( 'version' ); @@ -434,6 +436,8 @@ function list_plugin_updates() { } /** + * Display the upgrade themes form. + * * @since 2.9.0 */ function list_theme_updates() { @@ -514,6 +518,8 @@ function list_theme_updates() { } /** + * Display the update translations form. + * * @since 3.7.0 */ function list_translation_updates() { @@ -644,6 +650,8 @@ function do_core_upgrade( $reinstall = false ) { } /** + * Dismiss a core update. + * * @since 2.7.0 */ function do_dismiss_core_update() { @@ -659,6 +667,8 @@ function do_dismiss_core_update() { } /** + * Undismiss a core update. + * * @since 2.7.0 */ function do_undismiss_core_update() {