Remove dead code from WP_List_Table::print_column_headers()
git-svn-id: http://svn.automattic.com/wordpress/trunk@15516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3a1d872cfd
commit
1ea0bc3486
|
@ -464,8 +464,6 @@ class WP_List_Table {
|
||||||
|
|
||||||
list( $columns, $hidden, $sortable ) = $this->get_column_headers();
|
list( $columns, $hidden, $sortable ) = $this->get_column_headers();
|
||||||
|
|
||||||
$styles = array();
|
|
||||||
|
|
||||||
$current_url = ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
|
$current_url = ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
|
||||||
|
|
||||||
if ( isset( $_GET['orderby'] ) )
|
if ( isset( $_GET['orderby'] ) )
|
||||||
|
@ -485,8 +483,6 @@ class WP_List_Table {
|
||||||
if ( in_array( $column_key, $hidden ) )
|
if ( in_array( $column_key, $hidden ) )
|
||||||
$style = 'display:none;';
|
$style = 'display:none;';
|
||||||
|
|
||||||
if ( isset( $styles[$screen->id] ) && isset( $styles[$screen->id][$column_key] ) )
|
|
||||||
$style .= ' ' . $styles[$screen->id][$column_key];
|
|
||||||
$style = ' style="' . $style . '"';
|
$style = ' style="' . $style . '"';
|
||||||
|
|
||||||
if ( 'cb' == $column_key )
|
if ( 'cb' == $column_key )
|
||||||
|
|
Loading…
Reference in New Issue