From 191c25017263d970d50d4a0647cfb9a0d86523d1 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Thu, 1 Apr 2010 07:43:04 +0000 Subject: [PATCH] Fix PHP notice git-svn-id: https://develop.svn.wordpress.org/trunk@13908 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 68a6b97c92..64051f7235 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -648,7 +648,7 @@ function get_theme_root( $stylesheet_or_template = false ) { function get_theme_root_uri( $stylesheet_or_template = false ) { $theme_roots = get_theme_roots(); - if ( $theme_roots[$stylesheet_or_template] ) + if ( isset( $theme_roots[$stylesheet_or_template] ) && $theme_roots[$stylesheet_or_template] ) $theme_root_uri = content_url( $theme_roots[$stylesheet_or_template] ); else $theme_root_uri = content_url( 'themes' );