WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/29/2015 08:16:22 PM (6 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-ms-themes-list-table.php

    r32650 r32654  
    4848    }
    4949
     50    /**
     51     *
     52     * @return array
     53     */
    5054    protected function get_table_classes() {
    5155        // todo: remove and add CSS for .themes
     
    5357    }
    5458
     59    /**
     60     *
     61     * @return bool
     62     */
    5563    public function ajax_user_can() {
    5664        if ( $this->is_site_themes )
     
    224232    }
    225233
     234    /**
     235     *
     236     * @return array
     237     */
    226238    protected function get_sortable_columns() {
    227239        return array(
     
    292304
    293305    /**
    294      *
    295306     * @global string $status
     307     *
    296308     * @return array
    297309     */
     
    323335     * @global string $s
    324336     * @global array $totals
     337     *
    325338     * @param WP_Theme $theme
    326339     */
Note: See TracChangeset for help on using the changeset viewer.