From d1d60bb22c707a763577fd2454de41bcdeba101a Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Fri, 9 Mar 2018 17:00:31 +0000 Subject: [PATCH] Themes: Revert [42788] as it breaks a lot of things. See #43228 Built from https://develop.svn.wordpress.org/trunk@42816 git-svn-id: http://core.svn.wordpress.org/trunk@42646 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/theme.php | 2 -- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 662df894b3..ecbedec482 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -413,8 +413,6 @@ function register_theme_directory( $directory ) { $wp_theme_directories[] = $untrailed; } - wp_clean_themes_cache(); - return true; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 7ff517ec7b..62e52f3b8e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42815'; +$wp_version = '5.0-alpha-42816'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.