Make WordPress Core


Ignore:
Timestamp:
05/29/2015 08:16:22 PM (9 years ago)
Author:
wonderboymusic
Message:

Add missing doc blocks to wp-admin/includes/*.
Fix some egregious uses of tabbing.
Some functions can simply return apply_filters(...) instead of setting a variable that is immediately returned.

See #32444.

File:
1 edited

Legend:

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

    r32116 r32654  
    3030    }
    3131
     32    /**
     33     *
     34     * @return bool
     35     */
    3236    public function ajax_user_can() {
    3337        // Do not check edit_theme_options here. AJAX calls for available themes require switch_themes.
     
    98102    /**
    99103     * @param string $which
    100      * @return null
    101104     */
    102105    public function tablenav( $which = 'top' ) {
     
    125128    }
    126129
     130    /**
     131     *
     132     * @return array
     133     */
    127134    public function get_columns() {
    128135        return array();
Note: See TracChangeset for help on using the changeset viewer.