mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-01 03:04:34 +00:00
Docs: Synchronize descriptions of some query functions and their counterpart methods in WP and WP_Query classes:
* `set_query_var()` * `get_query_var()` * `get_queried_object()` * `get_queried_object_id()` Switch to third-person singular verbs, per the documentation standards. See #50768, #42783. git-svn-id: https://develop.svn.wordpress.org/trunk@49095 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -83,7 +83,7 @@ class WP {
|
||||
public $did_permalink = false;
|
||||
|
||||
/**
|
||||
* Add name to list of public query variables.
|
||||
* Adds a query variable to the list of public query variables.
|
||||
*
|
||||
* @since 2.1.0
|
||||
*
|
||||
@@ -107,7 +107,7 @@ class WP {
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the value of a query variable.
|
||||
* Sets the value of a query variable.
|
||||
*
|
||||
* @since 2.3.0
|
||||
*
|
||||
@@ -119,7 +119,7 @@ class WP {
|
||||
}
|
||||
|
||||
/**
|
||||
* Parse request to find correct WordPress query.
|
||||
* Parses the request to find the correct WordPress query.
|
||||
*
|
||||
* Sets up the query variables based on the request. There are also many
|
||||
* filters and actions that can be used to further manipulate the result.
|
||||
|
||||
Reference in New Issue
Block a user