Changeset 48344
- Timestamp:
- 07/06/2020 07:13:26 PM (5 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-automatic-updater.php
r48123 r48344 684 684 } 685 685 686 // If the auto 686 // If the auto-update is not to the latest version, say that the current version of WP is available instead. 687 687 $version = 'success' === $type ? $core_update->current : $next_user_core_update->current; 688 688 $subject = sprintf( $subject, wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ), $version ); -
trunk/src/wp-admin/includes/class-wp-site-health-auto-updates.php
r47841 r48344 163 163 * @since 5.3.0 164 164 * 165 * @return array|bool The test results. False if auto 165 * @return array|bool The test results. False if auto-updates are enabled. 166 166 */ 167 167 public function test_wp_automatic_updates_disabled() { … … 187 187 * @since 5.2.0 188 188 * 189 * @return array|bool The test results. False if the auto 189 * @return array|bool The test results. False if the auto-updates failed. 190 190 */ 191 191 function test_if_failed_update() { -
trunk/src/wp-admin/includes/update-core.php
r48172 r48344 1311 1311 do_action( '_core_updated_successfully', $wp_version ); 1312 1312 1313 // Clear the option that blocks auto 1313 // Clear the option that blocks auto-updates after failures, now that we've been successful. 1314 1314 if ( function_exists( 'delete_site_option' ) ) { 1315 1315 delete_site_option( 'auto_core_update_failed' ); -
trunk/src/wp-includes/update.php
r48183 r48344 243 243 if ( $doing_cron && ! doing_action( 'wp_maybe_auto_update' ) ) { 244 244 /** 245 * Fires during wp_cron, starting the auto 245 * Fires during wp_cron, starting the auto-update process. 246 246 * 247 247 * @since 3.9.0
Note: See TracChangeset
for help on using the changeset viewer.