mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user