diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 07b0f6a208..130b90e645 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -1888,6 +1888,7 @@ function check_theme_switched() { /** This action is documented in wp-includes/theme.php */ do_action( 'after_switch_theme', $stylesheet ); } + flush_rewrite_rules(); update_option( 'theme_switched', false ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 727d08c59d..19d1786912 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34027'; +$wp_version = '4.4-alpha-34028'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.