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-ms-themes-list-table.php

    r31163 r32642  
    2323         * @see WP_List_Table::__construct() for more information on default arguments.
    2424         *
     25         * @global string $status
     26         * @global int    $page
     27         *
    2528         * @param array $args An associative array of arguments.
    2629         */
    … …  
    5760        }
    5861
     62        /**
     63         *
     64         * @global string $status
     65         * @global array $totals
     66         * @global int $page
     67         * @global string $orderby
     68         * @global string $order
     69         * @global string $s
     70         */
    5971        public function prepare_items() {
    6072                global $status, $totals, $page, $orderby, $order, $s;
    … …  
    200212        }
    201213
     214        /**
     215         *
     216         * @return array
     217         */
    202218        public function get_columns() {
    203                 global $status;
    204 
    205219                return array(
    206220                        'cb'          => '<input type="checkbox" />',
    … …  
    216230        }
    217231
     232        /**
     233         *
     234         * @global array $totals
     235         * @global string $status
     236         * @return array
     237         */
    218238        protected function get_views() {
    219239                global $totals, $status;
    … …  
    259279        }
    260280
     281        /**
     282         *
     283         * @global string $status
     284         * @return array
     285         */
    261286        protected function get_bulk_actions() {
    262287                global $status;
Note: See TracChangeset for help on using the changeset viewer.