Docs: Document the usage of `$wp_query` global in `WP_Media_List_Table::display_rows()`.
Follow-up to [34127]. Props upadalavipul, saumil1611. Fixes #56839. Built from https://develop.svn.wordpress.org/trunk@54661 git-svn-id: http://core.svn.wordpress.org/trunk@54213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9f988fec20
commit
72469add22
|
@ -672,7 +672,8 @@ class WP_Media_List_Table extends WP_List_Table {
|
|||
}
|
||||
|
||||
/**
|
||||
* @global WP_Post $post Global post object.
|
||||
* @global WP_Post $post Global post object.
|
||||
* @global WP_Query $wp_query WordPress Query object.
|
||||
*/
|
||||
public function display_rows() {
|
||||
global $post, $wp_query;
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.2-alpha-54660';
|
||||
$wp_version = '6.2-alpha-54661';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue