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

    r32644 r32654  
    2727    }
    2828
     29    /**
     30     *
     31     * @return bool
     32     */
    2933    public function ajax_user_can() {
    3034        return current_user_can( 'manage_links' );
     
    6165    }
    6266
     67    /**
     68     *
     69     * @return array
     70     */
    6371    protected function get_bulk_actions() {
    6472        $actions = array();
     
    100108    }
    101109
     110    /**
     111     *
     112     * @return array
     113     */
    102114    public function get_columns() {
    103115        return array(
     
    112124    }
    113125
     126    /**
     127     *
     128     * @return array
     129     */
    114130    protected function get_sortable_columns() {
    115131        return array(
Note: See TracChangeset for help on using the changeset viewer.