Make WordPress Core


Ignore:
Timestamp:
12/01/2014 12:32:19 AM (10 years ago)
Author:
wonderboymusic
Message:

Improve various @param docs for List Tables.

See #30224.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-plugins-list-table.php

    r30648 r30679  
    192192    }
    193193
     194    /**
     195     * @staticvar string $term
     196     * @param array $plugin
     197     * @return boolean
     198     */
    194199    public function _search_callback( $plugin ) {
    195200        static $term;
     
    206211    }
    207212
     213    /**
     214     * @global string $orderby
     215     * @global string $order
     216     * @param array $plugin_a
     217     * @param array $plugin_b
     218     * @return int
     219     */
    208220    public function _order_callback( $plugin_a, $plugin_b ) {
    209221        global $orderby, $order;
     
    309321    }
    310322
     323    /**
     324     * @global string $status
     325     * @param string $which
     326     * @return null
     327     */
    311328    public function bulk_actions( $which = '' ) {
    312329        global $status;
     
    318335    }
    319336
     337    /**
     338     * @global string $status
     339     * @param string $which
     340     * @return null
     341     */
    320342    protected function extra_tablenav( $which ) {
    321343        global $status;
     
    353375    }
    354376
     377    /**
     378     * @global string $status
     379     * @global int $page
     380     * @global string $s
     381     * @global array $totals
     382     * @param array $item
     383     */
    355384    public function single_row( $item ) {
    356385        global $status, $page, $s, $totals;
Note: See TracChangeset for help on using the changeset viewer.