From 5f3883cc8f2a9fc01d9ad1bac5ccee72916d9b01 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sun, 27 Oct 2013 07:58:24 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@25946 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wp-includes/class-wp.php b/src/wp-includes/class-wp.php index bb07f8a236..73f92c59ef 100644 --- a/src/wp-includes/class-wp.php +++ b/src/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.