Make WordPress Core


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

Introduce get_list_table(). See #14579

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/upload.php

    r15519 r15528  
    1010require_once( './admin.php' );
    1111
    12 require_once( './includes/default-list-tables.php' );
    13 
    14 $wp_list_table = new WP_Media_Table;
     12$wp_list_table = get_list_table('media');
    1513$wp_list_table->check_permissions();
    1614
Note: See TracChangeset for help on using the changeset viewer.