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
This commit is contained in:
parent
2e417f0ca4
commit
b80cda5d17
|
@ -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();
|
||||
|
||||
?>
|
||||
<div id="screen-options-wrap" class="hidden" tabindex="-1" aria-label="<?php esc_attr_e('Screen Options Tab'); ?>">
|
||||
|
|
Loading…
Reference in New Issue