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

git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@4471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2006-11-15 22:29:20 +00:00
parent 27da557de4
commit 00c98cc513

View File

@ -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) {