mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Set extract type and rename car to avoid overwrites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e55c8a5dc9
commit
7684ebbeac
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user