Make WordPress Core


Ignore:
Timestamp:
08/22/2010 11:22:46 AM (14 years ago)
Author:
scribu
Message:

replace $table with $wp_list_table. See #14651

File:
1 edited

Legend:

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

    r15511 r15519  
    1212require_once( './includes/default-list-tables.php' );
    1313
    14 $table = new WP_Posts_Table;
    15 $table->check_permissions();
     14$wp_list_table = new WP_Posts_Table;
     15$wp_list_table->check_permissions();
    1616
    1717// Back-compat for viewing comments of an entry
     
    120120}
    121121
    122 $table->prepare_items();
     122$wp_list_table->prepare_items();
    123123
    124124wp_enqueue_script('inline-edit-post');
     
    281281<input type="hidden" name="post_type" class="post_type_page" value="<?php echo $post_type; ?>" />
    282282
    283 <?php $table->display(); ?>
     283<?php $wp_list_table->display(); ?>
    284284
    285285</form>
    286286
    287 <?php $table->inline_edit(); ?>
     287<?php $wp_list_table->inline_edit(); ?>
    288288
    289289<div id="ajax-response"></div>
Note: See TracChangeset for help on using the changeset viewer.