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
This commit is contained in:
parent
c01501b516
commit
85ccb59294
|
@ -314,7 +314,6 @@ class WP {
|
||||||
if ( isset($error) )
|
if ( isset($error) )
|
||||||
$this->query_vars['error'] = $error;
|
$this->query_vars['error'] = $error;
|
||||||
|
|
||||||
$query_vars = $this->query_vars;
|
|
||||||
/**
|
/**
|
||||||
* Filter the array of parsed query variables.
|
* Filter the array of parsed query variables.
|
||||||
*
|
*
|
||||||
|
@ -322,7 +321,7 @@ class WP {
|
||||||
*
|
*
|
||||||
* @param array $query_vars The array of requested query variables.
|
* @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.
|
* Fires once all query variables for the current request have been parsed.
|
||||||
|
|
Loading…
Reference in New Issue