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

    r32650 r32654  
    251251     * @param array $args An associative array with information about the pagination
    252252     * @access protected
     253     *
     254     * @param array|string $args
    253255     */
    254256    protected function set_pagination_args( $args ) {
     
    456458     * @access public
    457459     *
    458      * @return string|bool The action name or False if no action was selected
     460     * @return string|false The action name or False if no action was selected
    459461     */
    460462    public function current_action() {
     
    977979
    978980        $this->display_tablenav( 'top' );
    979 
    980981?>
    981982<table class="wp-list-table <?php echo implode( ' ', $this->get_table_classes() ); ?>">
     
    10931094    }
    10941095
     1096    /**
     1097     *
     1098     * @param object $item
     1099     * @param string $column_name
     1100     */
    10951101    protected function column_default( $item, $column_name ) {}
    10961102
     1103    /**
     1104     *
     1105     * @param object $item
     1106     */
    10971107    protected function column_cb( $item ) {}
    10981108
Note: See TracChangeset for help on using the changeset viewer.