diff --git a/wp-includes/version.php b/wp-includes/version.php index 1affb11a2a..d7ab800f6d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-RC1-39368'; +$wp_version = '4.7-RC1-39370'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-settings.php b/wp-settings.php index 9fe4080f3f..8dd0f40317 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -80,8 +80,13 @@ wp_debug_mode(); * Default true. */ if ( WP_CACHE && apply_filters( 'enable_loading_advanced_cache_dropin', true ) ) { -// For an advanced caching plugin to use. Uses a static drop-in because you would only want one. + // For an advanced caching plugin to use. Uses a static drop-in because you would only want one. WP_DEBUG ? include( WP_CONTENT_DIR . '/advanced-cache.php' ) : @include( WP_CONTENT_DIR . '/advanced-cache.php' ); + + // Re-initialize any hooks added manually by advanced-cache.php + if ( $wp_filter ) { + $wp_filter = WP_Hook::build_preinitialized_hooks( $wp_filter ); + } } // Define WP_LANG_DIR if not set.