Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/wp-includes/class-wp-customize-manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ public function __construct( $args = array() ) {
add_action( 'wp_loaded', array( $this, 'wp_loaded' ) );

// Do not spawn cron (especially the alternate cron) while running the Customizer.
remove_action( 'init', 'wp_cron' );
remove_action( 'shutdown', 'wp_cron' );

// Do not run update checks when rendering the controls.
remove_action( 'admin_init', '_maybe_update_core' );
Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/default-filters.php
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@

// WP Cron.
if ( ! defined( 'DOING_CRON' ) ) {
add_action( 'init', 'wp_cron' );
add_action( 'shutdown', 'wp_cron' );
}

// HTTPS migration.
Expand Down
Loading