From 44b778f75cd86700505acddd2d04f5064127365d Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Thu, 24 May 2012 07:06:13 +0000 Subject: [PATCH] Remove reference to a global eliminated long ago. props tamlyn, fixes #20668. git-svn-id: https://develop.svn.wordpress.org/trunk@20872 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/template.php b/wp-includes/template.php index 6f3e252ae3..531b308d24 100644 --- a/wp-includes/template.php +++ b/wp-includes/template.php @@ -381,7 +381,7 @@ function locate_template($template_names, $load = false, $require_once = true ) * @param bool $require_once Whether to require_once or require. Default true. */ function load_template( $_template_file, $require_once = true ) { - global $posts, $post, $wp_did_header, $wp_did_template_redirect, $wp_query, $wp_rewrite, $wpdb, $wp_version, $wp, $id, $comment, $user_ID; + global $posts, $post, $wp_did_header, $wp_query, $wp_rewrite, $wpdb, $wp_version, $wp, $id, $comment, $user_ID; if ( is_array( $wp_query->query_vars ) ) extract( $wp_query->query_vars, EXTR_SKIP );