From a2a3bd31cb8a11f64b73ebe3d0101fed236641f2 Mon Sep 17 00:00:00 2001 From: scribu Date: Sat, 21 Aug 2010 16:56:24 +0000 Subject: [PATCH] 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 --- wp-admin/includes/list-table.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wp-admin/includes/list-table.php b/wp-admin/includes/list-table.php index dc22202cb5..2a2200e350 100644 --- a/wp-admin/includes/list-table.php +++ b/wp-admin/includes/list-table.php @@ -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 )