From d7ed90532a8b12d4e1e6a7a438d1dbc03d9ff02c Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Mon, 28 May 2007 21:32:35 +0000 Subject: [PATCH] declare $user_ID global in load_template(). fixes #4354. git-svn-id: https://develop.svn.wordpress.org/trunk@5581 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 e19e2fc5c7..eef7b6c224 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -427,7 +427,7 @@ function get_comments_popup_template() { function load_template($_template_file) { global $posts, $post, $wp_did_header, $wp_did_template_redirect, $wp_query, - $wp_rewrite, $wpdb, $wp_version, $wp, $id, $comment; + $wp_rewrite, $wpdb, $wp_version, $wp, $id, $comment, $user_ID; if ( is_array($wp_query->query_vars) ) extract($wp_query->query_vars, EXTR_SKIP);