Docs: Clarify the description of functions that check for and perform updates.

See #49572, #50052.

git-svn-id: https://develop.svn.wordpress.org/trunk@48183 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2020-06-26 18:32:44 +00:00
parent 1aa329d060
commit c31fd4988a

View File

@ -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. * 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. * 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. * Performs WordPress automatic background updates.
* *
* Updates WordPress core plus any plugins and themes that have automatic updates enabled.
*
* @since 3.7.0 * @since 3.7.0
*/ */
function wp_maybe_auto_update() { function wp_maybe_auto_update() {