From e8f473002cb72fc2494808eb0018c247fa3fd668 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 15 Nov 2006 00:25:44 +0000 Subject: [PATCH] Set extract type and rename car to avoid overwrites. git-svn-id: https://develop.svn.wordpress.org/trunk@4469 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/theme.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/theme.php b/wp-includes/theme.php index 1bd6775336..b34a34fb0f 100644 --- a/wp-includes/theme.php +++ b/wp-includes/theme.php @@ -394,13 +394,13 @@ function get_comments_popup_template() { return apply_filters('comments_popup_template', $template); } -function load_template($file) { +function load_template($_template_file) { global $posts, $post, $wp_did_header, $wp_did_template_redirect, $wp_query, $wp_rewrite, $wpdb, $wp_version, $wp, $id, $comment; - extract($wp_query->query_vars); + extract($wp_query->query_vars, EXTR_SKIP); - require_once($file); + require_once($_template_file); } function locale_stylesheet() {