Skip to content

Commit

Permalink
Set extract type and rename car to avoid overwrites (backport from tr…
Browse files Browse the repository at this point in the history
…unk [4469])

git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
markjaquith committed Nov 15, 2006
1 parent 27da557 commit 00c98cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wp-includes/functions.php
Expand Up @@ -2163,13 +2163,13 @@ function remove_query_arg($key, $query) {
return add_query_arg($key, '', $query);
}

function load_template($file) {
function load_template($_template_file) {
global $posts, $post, $wp_did_header, $wp_did_template_redirect, $wp_query,
$wp_rewrite, $wpdb;

extract($wp_query->query_vars);
extract($wp_query->query_vars, EXTR_SKIP);

require_once($file);
require_once($_template_file);
}

function add_magic_quotes($array) {
Expand Down

0 comments on commit 00c98cc

Please sign in to comment.