Make WordPress Core


Ignore:
Timestamp:
05/28/2007 09:32:35 PM (17 years ago)
Author:
markjaquith
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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) )
Note: See TracChangeset for help on using the changeset viewer.