WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/28/2015 09:40:27 PM (7 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-plugin-install-list-table.php

    r31990 r32642  
    4949    }
    5050
     51    /**
     52     *
     53     * @global array  $tabs
     54     * @global string $tab
     55     * @global int    $paged
     56     * @global string $type
     57     * @global string $term
     58     * @global string $wp_version
     59     */
    5160    public function prepare_items() {
    5261        include( ABSPATH . 'wp-admin/includes/plugin-install.php' );
     
    209218    }
    210219
     220    /**
     221     *
     222     * @global array $tabs
     223     * @global string $tab
     224     * @return array
     225     */
    211226    protected function get_views() {
    212227        global $tabs, $tab;
     
    277292
    278293    /**
     294     * @global string $tab
     295     *
    279296     * @param string $which
    280297     */
     
    342359    }
    343360
     361    /**
     362     * @global string $wp_version
     363     */
    344364    public function display_rows() {
    345365        $plugins_allowedtags = array(
Note: See TracChangeset for help on using the changeset viewer.