Changes from trunk/wp-admin/includes/class-wp-plugins-list-table.php at r18254 to branches/3.1/wp-admin/includes/class-wp-plugins-list-table.php at r17807
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1/wp-admin/includes/class-wp-plugins-list-table.php
r18254 r17807 10 10 class WP_Plugins_List_Table extends WP_List_Table { 11 11 12 function __construct() {12 function WP_Plugins_List_Table() { 13 13 global $status, $page; 14 14 … … 22 22 update_user_meta( get_current_user_id(), 'plugins_last_view', $status ); 23 23 24 25 if ( isset($_REQUEST['s']) )26 $_SERVER['REQUEST_URI'] = add_query_arg('s', stripslashes($_REQUEST['s']) );27 28 24 $page = $this->get_pagenum(); 29 25 30 parent:: __construct( array(26 parent::WP_List_Table( array( 31 27 'plural' => 'plugins', 32 28 ) ); 33 29 } 34 30 35 31 function get_table_classes() { 36 32 return array( 'widefat', $this->_args['plural'] ); … … 292 288 submit_button( __( 'Clear List' ), 'secondary', 'clear-recent-list', false ); 293 289 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>'; 295 291 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>'; 297 293 298 294 echo '</div>';
Note: See TracChangeset
for help on using the changeset viewer.