Make WordPress Core


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

    r32642 r32654  
    1616    private $error;
    1717
     18    /**
     19     *
     20     * @return bool
     21     */
    1822    public function ajax_user_can() {
    1923        return current_user_can('install_plugins');
     
    2933     * @since 4.0.0
    3034     * @access protected
     35     *
     36     * @return array
    3137     */
    3238    protected function get_installed_plugin_slugs() {
     
    222228     * @global array $tabs
    223229     * @global string $tab
     230     *
    224231     * @return array
    225232     */
     
    326333    }
    327334
     335    /**
     336     * @return array
     337     */
    328338    protected function get_table_classes() {
    329339        return array( 'widefat', $this->_args['plural'] );
    330340    }
    331 
     341   
     342    /**
     343     * @return array
     344     */
    332345    public function get_columns() {
    333346        return array();
Note: See TracChangeset for help on using the changeset viewer.