Changeset 5581

Show
Ignore:
Timestamp:
05/28/07 21:32:35 (1 year ago)
Author:
markjaquith
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/theme.php

    r5506 r5581  
    428428function load_template($_template_file) { 
    429429    global $posts, $post, $wp_did_header, $wp_did_template_redirect, $wp_query, 
    430         $wp_rewrite, $wpdb, $wp_version, $wp, $id, $comment
     430        $wp_rewrite, $wpdb, $wp_version, $wp, $id, $comment, $user_ID
    431431 
    432432    if ( is_array($wp_query->query_vars) )