From 39e64f8625357b192fdf83ec4830d5d71db3e7fd Mon Sep 17 00:00:00 2001 From: markjaquith 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: http://svn.automattic.com/wordpress/trunk@17241 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/themes.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wp-admin/themes.php b/wp-admin/themes.php index a53a10dcf..ea36c4b84 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') )