Make WordPress Core


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

    r31672 r32642  
    1616    }
    1717
     18    /**
     19     *
     20     * @global array  $tabs
     21     * @global string $tab
     22     * @global int    $paged
     23     * @global string $type
     24     * @global array  $theme_field_defaults
     25     */
    1826    public function prepare_items() {
    1927        include( ABSPATH . 'wp-admin/includes/theme-install.php' );
     
    138146    }
    139147
     148    /**
     149     *
     150     * @global array $tabs
     151     * @global string $tab
     152     * @return array
     153     */
    140154    protected function get_views() {
    141155        global $tabs, $tab;
     
    191205    /**
    192206     * Prints a theme from the WordPress.org API.
     207     *
     208     * @global array $themes_allowedtags
    193209     *
    194210     * @param object $theme An object that contains theme data returned by the WordPress.org API.
     
    332348    /**
    333349     * Prints the info for a theme (to be used in the theme installer modal).
     350     *
     351     * @global array $themes_allowedtags
    334352     *
    335353     * @param object $theme - A WordPress.org Theme API object.
     
    397415     * @access public
    398416     *
    399      * @uses $tab Global; current tab within Themes->Install screen
    400      * @uses $type Global; type of search.
     417     * @global string $tab  Current tab within Themes->Install screen
     418     * @global string $type Type of search.
    401419     */
    402420    public function _js_vars( $extra_args = array() ) {
Note: See TracChangeset for help on using the changeset viewer.