Make WordPress Core


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

replace $table with $wp_list_table. See #14651

File:
1 edited

Legend:

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

    r15496 r15519  
    1212require_once( ABSPATH . 'wp-admin/includes/default-list-tables.php' );
    1313
    14 $table = new WP_Plugins_Table;
    15 $table->check_permissions();
     14$wp_list_table = new WP_Plugins_Table;
     15$wp_list_table->check_permissions();
    1616
    1717if ( isset($_POST['clear-recent-list']) )
     
    303303    update_user_meta( get_current_user_id(), 'plugins_last_view', $status );
    304304
    305 $table->prepare_items();
     305$wp_list_table->prepare_items();
    306306
    307307wp_enqueue_script('plugin-install');
     
    439439?>
    440440
    441 <?php $table->display(); ?>
     441<?php $wp_list_table->display(); ?>
    442442</form>
    443443
Note: See TracChangeset for help on using the changeset viewer.