diff --git a/wp-admin/includes/class-wp-plugin-install-list-table.php b/wp-admin/includes/class-wp-plugin-install-list-table.php
index 28a3e105ec..5e926163e1 100644
--- a/wp-admin/includes/class-wp-plugin-install-list-table.php
+++ b/wp-admin/includes/class-wp-plugin-install-list-table.php
@@ -103,7 +103,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
$display_tabs = array();
foreach ( (array) $tabs as $action => $text ) {
$class = ( $action == $tab ) ? ' class="current"' : '';
- $href = admin_url('plugin-install.php?tab=' . $action);
+ $href = self_admin_url('plugin-install.php?tab=' . $action);
$display_tabs[$action] = "$text";
}
@@ -178,7 +178,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
$author = wp_kses( $author, $plugins_allowedtags );
$action_links = array();
- $action_links[] = '' . __( 'Details' ) . '';