From b80cda5d17398cc26d670e38a4e657f7fa67557c Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Tue, 6 May 2014 17:14:15 +0000 Subject: [PATCH] In `WP_Screen::render_screen_options()`, remove dead code: * `$wp_list_table` does not need to be imported. * `$post` is set and never used. See #27882. Built from https://develop.svn.wordpress.org/trunk@28303 git-svn-id: http://core.svn.wordpress.org/trunk@28131 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/screen.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wp-admin/includes/screen.php b/wp-admin/includes/screen.php index 7d4ec88152..ac08274116 100644 --- a/wp-admin/includes/screen.php +++ b/wp-admin/includes/screen.php @@ -1011,11 +1011,10 @@ final class WP_Screen { * @since 3.3.0 */ public function render_screen_options() { - global $wp_meta_boxes, $wp_list_table; + global $wp_meta_boxes; $columns = get_column_headers( $this ); $hidden = get_hidden_columns( $this ); - $post = get_post(); ?>