Remove dead code from WP_List_Table::print_column_headers()
git-svn-id: https://develop.svn.wordpress.org/trunk@15516 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
83d019c1d9
commit
a2a3bd31cb
@ -464,8 +464,6 @@ class WP_List_Table {
|
||||
|
||||
list( $columns, $hidden, $sortable ) = $this->get_column_headers();
|
||||
|
||||
$styles = array();
|
||||
|
||||
$current_url = ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
|
||||
|
||||
if ( isset( $_GET['orderby'] ) )
|
||||
@ -485,8 +483,6 @@ class WP_List_Table {
|
||||
if ( in_array( $column_key, $hidden ) )
|
||||
$style = 'display:none;';
|
||||
|
||||
if ( isset( $styles[$screen->id] ) && isset( $styles[$screen->id][$column_key] ) )
|
||||
$style .= ' ' . $styles[$screen->id][$column_key];
|
||||
$style = ' style="' . $style . '"';
|
||||
|
||||
if ( 'cb' == $column_key )
|
||||
|
Loading…
Reference in New Issue
Block a user