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

    r32517 r32642  
    4242    }
    4343
     44    /**
     45     *
     46     * @global WP_Query $wp_query
     47     * @global array    $post_mime_types
     48     * @global array    $avail_post_mime_types
     49     * @global string   $mode
     50     */
    4451    public function prepare_items() {
    4552        global $wp_query, $post_mime_types, $avail_post_mime_types, $mode;
     
    5865    }
    5966
     67    /**
     68     *
     69     * @global wpdb  $wpdb
     70     * @global array $post_mime_types
     71     * @global array $avail_post_mime_types
     72     * @return array
     73     */
    6074    protected function get_views() {
    6175        global $wpdb, $post_mime_types, $avail_post_mime_types;
     
    161175    /**
    162176     * Override parent views so we can use the filter bar display.
     177     *
     178     * @global string $mode
    163179     */
    164180    public function views() {
     
    271287    }
    272288
     289    /**
     290     *
     291     * @global WP_Post $post
     292     */
    273293    public function display_rows() {
    274294        global $post;
Note: See TracChangeset for help on using the changeset viewer.