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

    r32642 r32654  
    1212    public $features = array();
    1313
     14    /**
     15     *
     16     * @return bool
     17     */
    1418    public function ajax_user_can() {
    1519        return current_user_can( 'install_themes' );
     
    417421     * @global string $tab  Current tab within Themes->Install screen
    418422     * @global string $type Type of search.
     423     *
     424     * @param array $extra_args Unused.
    419425     */
    420426    public function _js_vars( $extra_args = array() ) {
Note: See TracChangeset for help on using the changeset viewer.