Changes from branches/3.1/wp-admin/includes/class-wp-plugins-list-table.php at r17807 to trunk/wp-admin/includes/class-wp-plugins-list-table.php at r18254
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-plugins-list-table.php
r17807 r18254 10 10 class WP_Plugins_List_Table extends WP_List_Table { 11 11 12 function WP_Plugins_List_Table() {12 function __construct() { 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 24 28 $page = $this->get_pagenum(); 25 29 26 parent:: WP_List_Table( array(30 parent::__construct( array( 27 31 'plural' => 'plugins', 28 32 ) ); 29 33 } 30 34 31 35 function get_table_classes() { 32 36 return array( 'widefat', $this->_args['plural'] ); … … 288 292 submit_button( __( 'Clear List' ), 'secondary', 'clear-recent-list', false ); 289 293 elseif ( 'top' == $which && 'mustuse' == $status ) 290 echo '<p>' . __( 'Files in the <code>/wp-content/mu-plugins</code> directory are executed automatically.') . '</p>';294 echo '<p>' . sprintf( __( 'Files in the <code>%s</code> directory are executed automatically.' ), str_replace( ABSPATH, '/', WPMU_PLUGIN_DIR ) ) . '</p>'; 291 295 elseif ( 'top' == $which && 'dropins' == $status ) 292 echo '<p>' . __( 'Drop-ins are advanced plugins in the <code>/wp-content</code> directory that replace WordPress functionality when present.') . '</p>';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>'; 293 297 294 298 echo '</div>';
Note: See TracChangeset
for help on using the changeset viewer.