declare $user_ID global in load_template(). fixes #4354.

git-svn-id: http://svn.automattic.com/wordpress/trunk@5581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2007-05-28 21:32:35 +00:00
parent 16dab6f6db
commit fcf640dd6b
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ function get_comments_popup_template() {
function load_template($_template_file) { function load_template($_template_file) {
global $posts, $post, $wp_did_header, $wp_did_template_redirect, $wp_query, 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) ) if ( is_array($wp_query->query_vars) )
extract($wp_query->query_vars, EXTR_SKIP); extract($wp_query->query_vars, EXTR_SKIP);