diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-07-12 11:49:08 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-07-12 11:49:08 +0000 |
commit | 5d2ab91493b40459f5b30dd448891e1963a24ae1 (patch) | |
tree | 2f493fa03b50aeda24d797dd2bc9a3786eba3420 /wp-admin | |
parent | 124b545b7947449726687d424ee408522db888eb (diff) | |
download | wordpress-mu-5d2ab91493b40459f5b30dd448891e1963a24ae1.tar.gz wordpress-mu-5d2ab91493b40459f5b30dd448891e1963a24ae1.tar.xz wordpress-mu-5d2ab91493b40459f5b30dd448891e1963a24ae1.zip |
If allow_themes is not set then don't populate it!
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@660 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin')
-rw-r--r-- | wp-admin/themes.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-admin/themes.php b/wp-admin/themes.php index cec0e7a..5441e18 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -5,7 +5,7 @@ $themes = get_themes(); $ct = current_theme_info(); $allowed_themes = get_site_option( "allowed_themes" ); if( $allowed_themes == false ) { - $allowed_themes = $themes; + $allowed_themes = array(); if( $blog_id != 1 ) unset( $allowed_themes[ "WordPress MU Home Default" ] ); } |