WordPress.org

Make WordPress Core

Changeset 15516


Ignore:
Timestamp:
08/21/2010 04:56:24 PM (8 years ago)
Author:
scribu
Message:

Remove dead code from WP_List_Table::print_column_headers()

File:
1 edited

Legend:

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

    r15511 r15516  
    465465        list( $columns, $hidden, $sortable ) = $this->get_column_headers();
    466466
    467         $styles = array();
    468 
    469467        $current_url = ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
    470468
     
    486484                $style = 'display:none;';
    487485
    488             if ( isset( $styles[$screen->id] ) && isset( $styles[$screen->id][$column_key] ) )
    489                 $style .= ' ' . $styles[$screen->id][$column_key];
    490486            $style = ' style="' . $style . '"';
    491487
Note: See TracChangeset for help on using the changeset viewer.