X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/f9001779751f83dc8a10e478bfecb4d8dd5f964c..e9d988989fe37ab8c5f903e47fbe36e6e00dc51f:/wp-admin/includes/class-wp-plugins-list-table.php?ds=sidebyside diff --git a/wp-admin/includes/class-wp-plugins-list-table.php b/wp-admin/includes/class-wp-plugins-list-table.php index eefffb10..b5ad6d48 100644 --- a/wp-admin/includes/class-wp-plugins-list-table.php +++ b/wp-admin/includes/class-wp-plugins-list-table.php @@ -195,13 +195,6 @@ class WP_Plugins_List_Table extends WP_List_Table { return array(); } - function display_tablenav( $which ) { - global $status; - - if ( !in_array( $status, array( 'mustuse', 'dropins' ) ) ) - parent::display_tablenav( $which ); - } - function get_views() { global $totals, $status; @@ -286,11 +279,19 @@ class WP_Plugins_List_Table extends WP_List_Table { function extra_tablenav( $which ) { global $status; - if ( 'recently_activated' == $status ) { ?> -
- -
- '; + + if ( 'recently_activated' == $status ) + submit_button( __( 'Clear List' ), 'secondary', 'clear-recent-list', false ); + elseif ( 'top' == $which && 'mustuse' == $status ) + echo '

' . __( 'Files in the /wp-content/mu-plugins directory are executed automatically.' ) . '

'; + elseif ( 'top' == $which && 'dropins' == $status ) + echo '

' . __( 'Drop-ins are advanced plugins in the /wp-content directory that replace WordPress functionality when present.' ) . '

'; + + echo ''; } function current_action() {