From fcbe872299e5ce7985ae8c596c5f158475cee1bd Mon Sep 17 00:00:00 2001 From: westi Date: Fri, 11 Jan 2008 18:35:34 +0000 Subject: [PATCH] Add missing brace. Fixes #5643 props xknown. git-svn-id: http://svn.automattic.com/wordpress/trunk@6598 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 a8e8767a79..6cef26f8b6 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -83,7 +83,7 @@ function get_theme_data( $theme_file ) { $author_uti = ''; if ( preg_match( '|Template:(.*)$|mi', $theme_data, $template ) ) - $template = wp_kses( trim( $template[1], $themes_allowed_tags ) ); + $template = wp_kses( trim( $template[1] ), $themes_allowed_tags ); else $template = '';