WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/29/2015 09:31:56 PM (5 years ago)
Author:
wonderboymusic
Message:

Add @access annotations to methods that have no doc block in wp-admin/includes/*.
Makes it easier to search for no doc blocks via }[\n\t\r ]+(protected|private|public).

See #32444.

File:
1 edited

Legend:

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

    r32654 r32656  
    3939    }
    4040
     41    /**
     42     * @access public
     43     */
    4144    public function prepare_items() {
    4245        $themes = wp_get_themes( array( 'allowed' => true ) );
     
    7275    }
    7376
     77    /**
     78     * @access public
     79     */
    7480    public function no_items() {
    7581        if ( $this->search_terms || $this->features ) {
     
    115121    }
    116122
     123    /**
     124     * @access public
     125     */
    117126    public function display() {
    118127        wp_nonce_field( "fetch-list-" . get_class( $this ), '_ajax_fetch_list_nonce' );
     
    136145    }
    137146
     147    /**
     148     * @access public
     149     */
    138150    public function display_rows_or_placeholder() {
    139151        if ( $this->has_items() ) {
     
    146158    }
    147159
     160    /**
     161     * @access public
     162     */
    148163    public function display_rows() {
    149164        $themes = $this->items;
Note: See TracChangeset for help on using the changeset viewer.