Docs: Add missing description for $wp_query and $wp_the_query globals.

Props mukesh27.
See #45604, #47110.

git-svn-id: https://develop.svn.wordpress.org/trunk@45739 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2019-08-04 01:58:03 +00:00
parent 5af994b4ed
commit d19f4d7ff4
20 changed files with 84 additions and 84 deletions

View File

@@ -607,7 +607,7 @@ function body_class( $class = '' ) {
*
* @since 2.8.0
*
* @global WP_Query $wp_query
* @global WP_Query $wp_query WordPress Query object.
*
* @param string|string[] $class Space-separated string or array of class names to add to the class list.
* @return string[] Array of class names.
@@ -1233,7 +1233,7 @@ function wp_dropdown_pages( $args = '' ) {
*
* @see get_pages()
*
* @global WP_Query $wp_query
* @global WP_Query $wp_query WordPress Query object.
*
* @param array|string $args {
* Optional. Array or string of arguments to generate a list of pages. See `get_pages()` for additional arguments.