Make WordPress Core


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

    r32333 r32642  
    5656     * @see WP_List_Table::__construct() for more information on default arguments.
    5757     *
     58     * @global object $post_type_object
     59     * @global wpdb   $wpdb
     60     *
    5861     * @param array $args An associative array of arguments.
    5962     */
     
    102105    }
    103106
     107    /**
     108     *
     109     * @global array    $avail_post_stati
     110     * @global WP_Query $wp_query
     111     * @global int      $per_page
     112     * @global string   $mode
     113     */
    104114    public function prepare_items() {
    105115        global $avail_post_stati, $wp_query, $per_page, $mode;
     
    164174    }
    165175
     176    /**
     177     *
     178     * @global array $locked_post_status This seems to be deprecated.
     179     * @global array $avail_post_stati
     180     * @return array
     181     */
    166182    protected function get_views() {
    167183        global $locked_post_status, $avail_post_stati;
     
    468484
    469485    /**
    470      * @global wpdb $wpdb
     486     * @global wpdb    $wpdb
     487     * @global WP_Post $post
    471488     * @param array $pages
    472489     * @param int $pagenum
     
    629646
    630647    /**
    631      * @global string $mode
     648     * @global string  $mode
     649     * @global WP_Post $post
     650     *
    632651     * @param WP_Post $post
    633652     * @param int $level
     
    9921011     *
    9931012     * @since 3.1.0
     1013     *
     1014     * @global string $mode
    9941015     */
    9951016    public function inline_edit() {
Note: See TracChangeset for help on using the changeset viewer.