Add @global annotations for wp-admin/*.

See #32444.


git-svn-id: https://develop.svn.wordpress.org/trunk@32642 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2015-05-28 21:40:27 +00:00
parent 5f8df2290f
commit 23ce2efd12
61 changed files with 703 additions and 37 deletions
@@ -30,6 +30,13 @@ class WP_Links_List_Table extends WP_List_Table {
return current_user_can( 'manage_links' );
}
/**
*
* @global int $cat_id
* @global string $s
* @global string $orderby
* @global string $order
*/
public function prepare_items() {
global $cat_id, $s, $orderby, $order;
@@ -60,6 +67,11 @@ class WP_Links_List_Table extends WP_List_Table {
return $actions;
}
/**
*
* @global int $cat_id
* @param string $which
*/
protected function extra_tablenav( $which ) {
global $cat_id;
@@ -108,6 +120,10 @@ class WP_Links_List_Table extends WP_List_Table {
);
}
/**
*
* @global int $cat_id
*/
public function display_rows() {
global $cat_id;