Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.1/wp-admin/includes/class-wp-plugins-list-table.php

    r18254 r17807  
    1010class WP_Plugins_List_Table extends WP_List_Table {
    1111
    12     function __construct() {
     12    function WP_Plugins_List_Table() {
    1313        global $status, $page;
    1414
     
    2222            update_user_meta( get_current_user_id(), 'plugins_last_view', $status );
    2323
    24 
    25         if ( isset($_REQUEST['s']) )
    26             $_SERVER['REQUEST_URI'] = add_query_arg('s', stripslashes($_REQUEST['s']) );
    27 
    2824        $page = $this->get_pagenum();
    2925
    30         parent::__construct( array(
     26        parent::WP_List_Table( array(
    3127            'plural' => 'plugins',
    3228        ) );
    3329    }
    34 
     30   
    3531    function get_table_classes() {
    3632        return array( 'widefat', $this->_args['plural'] );
     
    292288            submit_button( __( 'Clear List' ), 'secondary', 'clear-recent-list', false );
    293289        elseif ( 'top' == $which && 'mustuse' == $status )
    294             echo '<p>' . sprintf( __( 'Files in the <code>%s</code> directory are executed automatically.' ), str_replace( ABSPATH, '/', WPMU_PLUGIN_DIR ) ) . '</p>';
     290            echo '<p>' . __( 'Files in the <code>/wp-content/mu-plugins</code> directory are executed automatically.' ) . '</p>';
    295291        elseif ( 'top' == $which && 'dropins' == $status )
    296             echo '<p>' . sprintf( __( 'Drop-ins are advanced plugins in the <code>%s</code> directory that replace WordPress functionality when present.' ), str_replace( ABSPATH, '', WP_CONTENT_DIR ) ) . '</p>';
     292            echo '<p>' . __( 'Drop-ins are advanced plugins in the <code>/wp-content</code> directory that replace WordPress functionality when present.' ) . '</p>';
    297293
    298294        echo '</div>';
Note: See TracChangeset for help on using the changeset viewer.