summaryrefslogtreecommitdiffstats
path: root/wp-admin
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-07-16 11:58:54 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2008-07-16 11:58:54 +0000
commitc87e77c0105ba9e503f2cb69fdc72c54c0420a10 (patch)
treea4870229c4dc778100d5487e26711277cb1f9f8d /wp-admin
parent0bcdcd48b667dc42315f130ab1e0e87f0c5052c1 (diff)
downloadwordpress-mu-c87e77c0105ba9e503f2cb69fdc72c54c0420a10.tar.gz
wordpress-mu-c87e77c0105ba9e503f2cb69fdc72c54c0420a10.tar.xz
wordpress-mu-c87e77c0105ba9e503f2cb69fdc72c54c0420a10.zip
Filter "allowed_themes", props lunabyte, fixes #678
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1376 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin')
-rw-r--r--wp-admin/themes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-admin/themes.php b/wp-admin/themes.php
index e09d8e8..1ec8a48 100644
--- a/wp-admin/themes.php
+++ b/wp-admin/themes.php
@@ -3,7 +3,7 @@ require_once('admin.php');
$themes = get_themes();
$ct = current_theme_info();
-$allowed_themes = get_site_allowed_themes();
+$allowed_themes = apply_filters("allowed_themes", get_site_allowed_themes() );
if( $allowed_themes == false )
$allowed_themes = array();