Changeset 4471

Show
Ignore:
Timestamp:
11/15/06 22:29:20 (2 years ago)
Author:
markjaquith
Message:

Set extract type and rename car to avoid overwrites (backport from trunk [4469])

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.0/wp-includes/functions.php

    r4410 r4471  
    21642164} 
    21652165 
    2166 function load_template($file) { 
     2166function load_template($_template_file) { 
    21672167    global $posts, $post, $wp_did_header, $wp_did_template_redirect, $wp_query, 
    21682168        $wp_rewrite, $wpdb; 
    21692169 
    2170     extract($wp_query->query_vars); 
    2171  
    2172     require_once($file); 
     2170    extract($wp_query->query_vars, EXTR_SKIP); 
     2171 
     2172    require_once($_template_file); 
    21732173} 
    21742174