diff --git a/src/wp-includes/https-detection.php b/src/wp-includes/https-detection.php index 895b3a8516..87c331bf24 100644 --- a/src/wp-includes/https-detection.php +++ b/src/wp-includes/https-detection.php @@ -119,6 +119,10 @@ function wp_update_https_detection_errors() { * @access private */ function wp_schedule_https_detection() { + if ( wp_installing() ) { + return; + } + if ( ! wp_next_scheduled( 'wp_https_detection' ) ) { wp_schedule_event( time(), 'twicedaily', 'wp_https_detection' ); }