WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/06/2014 05:13:30 PM (6 years ago)
Author:
wonderboymusic
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/screen.php

    r27256 r28303  
    10121012     */
    10131013    public function render_screen_options() {
    1014         global $wp_meta_boxes, $wp_list_table;
     1014        global $wp_meta_boxes;
    10151015
    10161016        $columns = get_column_headers( $this );
    10171017        $hidden  = get_hidden_columns( $this );
    1018         $post    = get_post();
    10191018
    10201019        ?>
Note: See TracChangeset for help on using the changeset viewer.