Skip to content

Commit

Permalink
Remove dead code from WP_List_Table::print_column_headers()
Browse files Browse the repository at this point in the history
git-svn-id: http://core.svn.wordpress.org/trunk@15516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information
scribu committed Aug 21, 2010
1 parent 582ac66 commit 4352c94
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions wp-admin/includes/list-table.php
Expand Up @@ -464,8 +464,6 @@ function print_column_headers( $with_id = true ) {

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'] ) )
Expand All @@ -485,8 +483,6 @@ function print_column_headers( $with_id = true ) {
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 )
Expand Down

0 comments on commit 4352c94

Please sign in to comment.