Changeset 58435
- Timestamp:
- 06/18/2024 02:37:55 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/upgrade.php
r57787 r58435 53 53 wp_cache_flush(); 54 54 make_db_current_silent(); 55 56 /* 57 * Ensure update checks are delayed after installation. 58 * 59 * This prevents users being presented with a maintenance mode screen 60 * immediately after installation. 61 */ 62 wp_unschedule_hook( 'wp_version_check' ); 63 wp_unschedule_hook( 'wp_update_plugins' ); 64 wp_unschedule_hook( 'wp_update_themes' ); 65 66 wp_schedule_event( time() + HOUR_IN_SECONDS, 'twicedaily', 'wp_version_check' ); 67 wp_schedule_event( time() + ( 1.5 * HOUR_IN_SECONDS ), 'twicedaily', 'wp_update_plugins' ); 68 wp_schedule_event( time() + ( 2 * HOUR_IN_SECONDS ), 'twicedaily', 'wp_update_themes' ); 69 55 70 populate_options(); 56 71 populate_roles();
Note: See TracChangeset
for help on using the changeset viewer.