From 9e91b81274a98e71b9be74d86d5c6a990dc68c69 Mon Sep 17 00:00:00 2001 From: nacin Date: Sat, 20 Nov 2010 01:38:21 +0000 Subject: [PATCH] self_admin_url in plugin-install. props ocean90, fixes #14062. git-svn-id: http://svn.automattic.com/wordpress/trunk@16499 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-plugin-install-list-table.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' ) . '';