Changeset 4469

Show
Ignore:
Timestamp:
11/15/06 00:25:44 (2 years ago)
Author:
ryan
Message:

Set extract type and rename car to avoid overwrites.

Files:

Legend:

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

    r4404 r4469  
    395395} 
    396396 
    397 function load_template($file) { 
     397function load_template($_template_file) { 
    398398    global $posts, $post, $wp_did_header, $wp_did_template_redirect, $wp_query, 
    399399        $wp_rewrite, $wpdb, $wp_version, $wp, $id, $comment; 
    400400 
    401     extract($wp_query->query_vars); 
    402  
    403     require_once($file); 
     401    extract($wp_query->query_vars, EXTR_SKIP); 
     402 
     403    require_once($_template_file); 
    404404} 
    405405