From 6f723ddf50f502bf678ab94a41cfa793263f94c6 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Wed, 16 Jan 2019 03:38:49 +0000 Subject: [PATCH] Docs: Add documentation for the `wp_maybe_auto_update` action. Props MikeGillihan. Fixes #43301. Built from https://develop.svn.wordpress.org/trunk@44609 git-svn-id: http://core.svn.wordpress.org/trunk@44440 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/update.php | 5 +++++ wp-includes/version.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/wp-includes/update.php b/wp-includes/update.php index 7e6bb65421..c815d157aa 100644 --- a/wp-includes/update.php +++ b/wp-includes/update.php @@ -232,6 +232,11 @@ function wp_version_check( $extra_stats = array(), $force_check = false ) { // Trigger background updates if running non-interactively, and we weren't called from the update handler. if ( $doing_cron && ! doing_action( 'wp_maybe_auto_update' ) ) { + /** + * Fires during wp_cron, starting the auto update process. + * + * @since 3.9.0 + */ do_action( 'wp_maybe_auto_update' ); } } diff --git a/wp-includes/version.php b/wp-includes/version.php index 02ce327bbf..87146763f5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.1-beta1-44608'; +$wp_version = '5.1-beta1-44609'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.