From dfdee40ed6a5130ca476b628a41f5716b51a2447 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Fri, 26 Jun 2020 18:34:03 +0000 Subject: [PATCH] Docs: Clarify the description of functions that check for and perform updates. See #49572, #50052. Built from https://develop.svn.wordpress.org/trunk@48183 git-svn-id: http://core.svn.wordpress.org/trunk@47952 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/update.php | 10 ++++++++-- wp-includes/version.php | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/wp-includes/update.php b/wp-includes/update.php index d0c9839755..46e6431487 100644 --- a/wp-includes/update.php +++ b/wp-includes/update.php @@ -251,7 +251,9 @@ function wp_version_check( $extra_stats = array(), $force_check = false ) { } /** - * Check plugin versions against the latest versions hosted on WordPress.org. + * Checks for available updates to plugins based on the latest versions hosted on WordPress.org. + * + * Despite its name this function does not actually perform any updates, it only checks for available updates. * * A list of all plugins installed is sent to WP, along with the site locale. * @@ -444,7 +446,9 @@ function wp_update_plugins( $extra_stats = array() ) { } /** - * Check theme versions against the latest versions hosted on WordPress.org. + * Checks for available updates to themes based on the latest versions hosted on WordPress.org. + * + * Despite its name this function does not actually perform any updates, it only checks for available updates. * * A list of all themes installed is sent to WP, along with the site locale. * @@ -626,6 +630,8 @@ function wp_update_themes( $extra_stats = array() ) { /** * Performs WordPress automatic background updates. * + * Updates WordPress core plus any plugins and themes that have automatic updates enabled. + * * @since 3.7.0 */ function wp_maybe_auto_update() { diff --git a/wp-includes/version.php b/wp-includes/version.php index cec9fe7f3c..2e61f916ae 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-48182'; +$wp_version = '5.5-alpha-48183'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.