From e7540ea96ad39edfaeaec8d7b3b114c4147db65f Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 9 Jun 2010 18:13:29 +0000 Subject: [PATCH] Warning and styling fixes. Props ocean90. fixes #13775 git-svn-id: http://svn.automattic.com/wordpress/trunk@15179 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/ms-edit.php | 1 + wp-admin/ms-themes.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-admin/ms-edit.php b/wp-admin/ms-edit.php index 09f9d4bd4b..14b23445c9 100644 --- a/wp-admin/ms-edit.php +++ b/wp-admin/ms-edit.php @@ -442,6 +442,7 @@ switch ( $_GET['action'] ) { if ( is_array( $_POST['theme'] ) ) { $themes = get_themes(); reset( $themes ); + $allowed_themes = array(); foreach ( (array) $themes as $key => $theme ) { if ( $_POST['theme'][ esc_html( $theme['Stylesheet'] ) ] == 'enabled' ) $allowed_themes[ esc_html( $theme['Stylesheet'] ) ] = true; diff --git a/wp-admin/ms-themes.php b/wp-admin/ms-themes.php index 7e69e90821..e6fd9b57b6 100644 --- a/wp-admin/ms-themes.php +++ b/wp-admin/ms-themes.php @@ -70,7 +70,7 @@ $allowed_themes = get_site_allowed_themes(); $disabled = true; } ?> - +