Make WordPress Core


Ignore:
Timestamp:
05/28/2015 09:40:27 PM (11 years ago)
Author:
wonderboymusic
Message:

Add @global annotations for wp-admin/*.

See #32444.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-plugins-list-table.php

    r31873 r32642  
    1818         * @see WP_List_Table::__construct() for more information on default arguments.
    1919         *
     20         * @global string $status
     21         * @global int    $page
     22         *
    2023         * @param array $args An associative array of arguments.
    2124         */
    … …  
    4649        }
    4750
     51        /**
     52         *
     53         * @global string $status
     54         * @global type   $plugins
     55         * @global array  $totals
     56         * @global int    $page
     57         * @global string $orderby
     58         * @global string $order
     59         * @global string $s
     60         */
    4861        public function prepare_items() {
    4962                global $status, $plugins, $totals, $page, $orderby, $order, $s;
    … …  
    242255        }
    243256
     257        /**
     258         *
     259         * @global array $plugins
     260         */
    244261        public function no_items() {
    245262                global $plugins;
    … …  
    251268        }
    252269
     270        /**
     271         *
     272         * @global string $status
     273         * @return array
     274         */
    253275        public function get_columns() {
    254276                global $status;
    … …  
    265287        }
    266288
     289        /**
     290         *
     291         * @global array $totals
     292         * @global string $status
     293         * @return array
     294         */
    267295        protected function get_views() {
    268296                global $totals, $status;
    … …  
    309337        }
    310338
     339        /**
     340         *
     341         * @global string $status
     342         * @return array
     343         */
    311344        protected function get_bulk_actions() {
    312345                global $status;
    … …  
    374407        }
    375408
     409        /**
     410         *
     411         * @global string $status
     412         */
    376413        public function display_rows() {
    377414                global $status;
Note: See TracChangeset for help on using the changeset viewer.