mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +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:
@@ -61,7 +61,7 @@ class WP_Media_List_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
/**
|
||||
* @global WP_Query $wp_query
|
||||
* @global WP_Query $wp_query WordPress Query object.
|
||||
* @global array $post_mime_types
|
||||
* @global array $avail_post_mime_types
|
||||
* @global string $mode
|
||||
|
||||
@@ -136,7 +136,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
|
||||
/**
|
||||
* @global array $avail_post_stati
|
||||
* @global WP_Query $wp_query
|
||||
* @global WP_Query $wp_query WordPress Query object.
|
||||
* @global int $per_page
|
||||
* @global string $mode
|
||||
*/
|
||||
@@ -695,7 +695,7 @@ class WP_Posts_List_Table extends WP_List_Table {
|
||||
}
|
||||
|
||||
/**
|
||||
* @global WP_Query $wp_query
|
||||
* @global WP_Query $wp_query WordPress Query object.
|
||||
* @global int $per_page
|
||||
* @param array $posts
|
||||
* @param int $level
|
||||
|
||||
@@ -525,7 +525,7 @@ function export_wp( $args = array() ) {
|
||||
<?php
|
||||
if ( $post_ids ) {
|
||||
/**
|
||||
* @global WP_Query $wp_query
|
||||
* @global WP_Query $wp_query WordPress Query object.
|
||||
*/
|
||||
global $wp_query;
|
||||
|
||||
|
||||
@@ -1415,7 +1415,7 @@ function get_attachment_fields_to_edit( $post, $errors = null ) {
|
||||
*
|
||||
* @since 2.5.0
|
||||
*
|
||||
* @global WP_Query $wp_the_query
|
||||
* @global WP_Query $wp_the_query WordPress Query object.
|
||||
*
|
||||
* @param int $post_id Optional. Post ID.
|
||||
* @param array $errors Errors for attachment, if any.
|
||||
@@ -2527,7 +2527,7 @@ jQuery(function($){
|
||||
* @since 2.5.0
|
||||
*
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
* @global WP_Query $wp_query
|
||||
* @global WP_Query $wp_query WordPress Query object.
|
||||
* @global WP_Locale $wp_locale WordPress date and time locale object.
|
||||
* @global string $type
|
||||
* @global string $tab
|
||||
|
||||
Reference in New Issue
Block a user