diff --git a/wp-admin/includes/default-list-tables.php b/wp-admin/includes/default-list-tables.php
index c66ed076d4..70f1cfe05d 100644
--- a/wp-admin/includes/default-list-tables.php
+++ b/wp-admin/includes/default-list-tables.php
@@ -3606,12 +3606,10 @@ class WP_Plugins_Table extends WP_List_Table {
|
";
- echo ' ';
- foreach ( $actions as $action => $link ) {
- $sep = end( $actions ) == $link ? '' : ' | ';
- echo "$link$sep";
- }
- echo " |
+
+ echo $this->row_actions( $actions, true );
+
+ echo "
";
$plugin_meta = array();
if ( !empty( $plugin_data['Version'] ) )
diff --git a/wp-admin/includes/list-table.php b/wp-admin/includes/list-table.php
index 25aaf57c7a..b945311c65 100644
--- a/wp-admin/includes/list-table.php
+++ b/wp-admin/includes/list-table.php
@@ -273,16 +273,17 @@ class WP_List_Table {
* @access protected
*
* @param array $actions The list of actions
+ * @param bool $always_visible Wether the actions should be always visible
* @return string
*/
- function row_actions( $actions ) {
+ function row_actions( $actions, $always_visible = false ) {
$action_count = count( $actions );
$i = 0;
if ( !$action_count )
return '';
- $out = '';
+ $out = ' ';
foreach ( $actions as $action => $link ) {
++$i;
( $i == $action_count ) ? $sep = '' : $sep = ' | ';
|