From c0148a5a1568b3262f063a350aaef08c63ec40e4 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Fri, 7 Jan 2011 23:44:12 +0000 Subject: [PATCH] [17240] rendered the theme-change rules flush introduced in [16705] unnecessary. git-svn-id: https://develop.svn.wordpress.org/trunk@17241 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/themes.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wp-admin/themes.php b/wp-admin/themes.php index a53a10dcf8..ea36c4b841 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -37,10 +37,6 @@ $parent_file = 'themes.php'; if ( current_user_can( 'switch_themes' ) ) : -// Flush rewrite rules on activation once new theme is in place. -if ( isset( $_GET['activated'] ) && $_GET['activated'] == 'true' ) - flush_rewrite_rules(); - $help = '

' . __('Aside from the default theme included with your WordPress installation, themes are designed and developed by third parties.') . '

'; $help .= '

' . __('You can see your active theme at the top of the screen. Below are the other themes you have installed that are not currently in use. You can see what your site would look like with one of these themes by clicking the Preview link. To change themes, click the Activate link.') . '

'; if ( current_user_can('install_themes') )