From 8dc054b4ed0f0f625ddcab21ba745475f922b058 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 9 Jun 2010 18:13:29 +0000 Subject: [PATCH] Warning and styling fixes. Props ocean90. fixes #13775 git-svn-id: https://develop.svn.wordpress.org/trunk@15179 602fd350-edb4-49c9-b593-d223f7449a82 --- 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; } ?> - +