WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/25/2010 12:51:44 AM (10 years ago)
Author:
scribu
Message:

Introduce get_list_table(). See #14579

File:
1 edited

Legend:

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

    r15519 r15528  
    294294    }
    295295
    296     require_once( './includes/default-list-tables.php' );
    297     $wp_list_table = new WP_Comments_Table( 'reply' );
     296    $wp_list_table = get_list_table('comments');
    298297
    299298    $columns = $wp_list_table->get_column_headers();
Note: See TracChangeset for help on using the changeset viewer.