Docs: Add missing description for $wp_query and $wp_the_query globals.
Props mukesh27. See #45604, #47110. Built from https://develop.svn.wordpress.org/trunk@45739 git-svn-id: http://core.svn.wordpress.org/trunk@45550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -2322,7 +2322,7 @@ function next_posts( $max_page = 0, $echo = true ) {
|
||||
* @since 2.7.0
|
||||
*
|
||||
* @global int $paged
|
||||
* @global WP_Query $wp_query
|
||||
* @global WP_Query $wp_query WordPress Query object.
|
||||
*
|
||||
* @param string $label Content for link text.
|
||||
* @param int $max_page Optional. Max pages. Default 0.
|
||||
@@ -2460,7 +2460,7 @@ function previous_posts_link( $label = null ) {
|
||||
*
|
||||
* @since 2.8.0
|
||||
*
|
||||
* @global WP_Query $wp_query
|
||||
* @global WP_Query $wp_query WordPress Query object.
|
||||
*
|
||||
* @param string|array $args {
|
||||
* Optional. Arguments to build the post pages link navigation.
|
||||
@@ -2801,7 +2801,7 @@ function get_comments_pagenum_link( $pagenum = 1, $max_page = 0 ) {
|
||||
*
|
||||
* @since 2.7.1
|
||||
*
|
||||
* @global WP_Query $wp_query
|
||||
* @global WP_Query $wp_query WordPress Query object.
|
||||
*
|
||||
* @param string $label Optional. Label for link text. Default empty.
|
||||
* @param int $max_page Optional. Max page. Default 0.
|
||||
|
||||
Reference in New Issue
Block a user