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:
Sergey Biryukov
2020-10-06 08:57:38 +00:00
parent 34a9527acf
commit 3ebeaffe80
3 changed files with 11 additions and 11 deletions

View File

@@ -1721,7 +1721,7 @@ class WP_Query {
}
/**
* Retrieve query variable.
* Retrieves the value of a query variable.
*
* @since 1.5.0
* @since 3.9.0 The `$default` argument was introduced.
@@ -1739,7 +1739,7 @@ class WP_Query {
}
/**
* Set query variable.
* Sets the value of a query variable.
*
* @since 1.5.0
*
@@ -3449,7 +3449,7 @@ class WP_Query {
}
/**
* Retrieve queried object.
* Retrieves the currently queried object.
*
* If queried object is not set, then the queried object will be set from
* the category, tag, taxonomy, posts page, single post, page, or author
@@ -3527,7 +3527,7 @@ class WP_Query {
}
/**
* Retrieve ID of the current queried object.
* Retrieves the ID of the currently queried object.
*
* @since 1.5.0
*