diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-06-27 15:36:25 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-06-27 15:36:25 +0000 |
commit | a70b0a2b6a90bd844351db9438002b7ea5a43476 (patch) | |
tree | ff3eed5a3fcf93daad3ae6ac88572dba7d57078a /wp-admin | |
parent | ea570229e20d5052960484326d9054f7e321a40e (diff) | |
download | wordpress-mu-a70b0a2b6a90bd844351db9438002b7ea5a43476.tar.gz wordpress-mu-a70b0a2b6a90bd844351db9438002b7ea5a43476.tar.xz wordpress-mu-a70b0a2b6a90bd844351db9438002b7ea5a43476.zip |
Unset the WPMU home theme for hosted blogs (fixes #42, thanks Podz!)
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@606 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin')
-rw-r--r-- | wp-admin/themes.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wp-admin/themes.php b/wp-admin/themes.php index bc8ecbe..cec0e7a 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -6,6 +6,8 @@ $ct = current_theme_info(); $allowed_themes = get_site_option( "allowed_themes" ); if( $allowed_themes == false ) { $allowed_themes = $themes; + if( $blog_id != 1 ) + unset( $allowed_themes[ "WordPress MU Home Default" ] ); } $blog_allowed_themes = get_option( "allowed_themes" ); |