mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Docs: Document the usage of $wp_query global in WP_Media_List_Table::display_rows().
Follow-up to [34127]. Props upadalavipul, saumil1611. Fixes #56839. git-svn-id: https://develop.svn.wordpress.org/trunk@54661 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user