From 85ccb5929461a38973577942d7addfa481a70714 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 27 Oct 2013 07:59:10 +0000 Subject: [PATCH] Revert another instance where a `WP` property was assigned to a one-time variable for inline docs purposes. Referencing a non-existent variable only in the docs here would have been the better choice. See #25495. Built from https://develop.svn.wordpress.org/trunk@25946 git-svn-id: http://core.svn.wordpress.org/trunk@25905 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wp-includes/class-wp.php b/wp-includes/class-wp.php index bb07f8a236..73f92c59ef 100644 --- a/wp-includes/class-wp.php +++ b/wp-includes/class-wp.php @@ -314,7 +314,6 @@ class WP { if ( isset($error) ) $this->query_vars['error'] = $error; - $query_vars = $this->query_vars; /** * Filter the array of parsed query variables. * @@ -322,7 +321,7 @@ class WP { * * @param array $query_vars The array of requested query variables. */ - $this->query_vars = apply_filters( 'request', $query_vars ); + $this->query_vars = apply_filters( 'request', $this->query_vars ); /** * Fires once all query variables for the current request have been parsed.