Make WordPress Core

Changeset 28279


Ignore:
Timestamp:
05/06/2014 05:31:07 AM (10 years ago)
Author:
wonderboymusic
Message:

In WP_List_Table::display_rows_or_placeholder(), the call to get_column_info() in unnecessary and unused. The call to get_column_count() immediately after makes the same call internally.

See #27882.

File:
1 edited

Legend:

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

    r27626 r28279  
    842842            $this->display_rows();
    843843        } else {
    844             list( $columns, $hidden ) = $this->get_column_info();
    845844            echo '<tr class="no-items"><td class="colspanchange" colspan="' . $this->get_column_count() . '">';
    846845            $this->no_items();
Note: See TracChangeset for help on using the changeset viewer.