summaryrefslogtreecommitdiffstats
path: root/wp-admin/themes.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-admin/themes.php')
-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 ee84375..88a668a 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_option( "allowedthemes" );
+$allowed_themes = get_site_allowed_themes();
if( $allowed_themes == false )
$allowed_themes = array();