WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/04/2010 03:00:55 PM (9 years ago)
Author:
scribu
Message:

Default to get_current_screen() in list table classes. See #14579

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-posts-list-table.php

    r16175 r16182  
    4646
    4747    function WP_Posts_List_Table() {
    48         global $post_type_object, $post_type, $current_screen, $wpdb;
     48        global $post_type_object, $post_type, $wpdb;
    4949
    5050        if ( !isset( $_REQUEST['post_type'] ) )
     
    7575
    7676        parent::WP_List_Table( array(
    77             'screen' => $current_screen,
    7877            'plural' => 'posts',
    7978        ) );
Note: See TracChangeset for help on using the changeset viewer.