Remove "Info" link in plugin installer. The "Install" link already opens a pop-up with information. see #11050

git-svn-id: https://develop.svn.wordpress.org/trunk@13522 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2010-03-01 06:01:00 +00:00
parent 6bee083b27
commit 8ee771f548
1 changed files with 1 additions and 3 deletions

View File

@ -356,10 +356,8 @@ function display_plugins_table($plugins, $page = 1, $totalpages = 1){
$action_links[] = '<a href="' . admin_url('plugin-install.php?tab=plugin-information&amp;plugin=' . $plugin['slug'] .
'&amp;TB_iframe=true&amp;width=600&amp;height=550') . '" class="thickbox onclick" title="' .
esc_attr( sprintf( __( 'Install %s' ), $name ) ) . '">' . __('Install') . '</a>';
if ( isset( $plugin['homepage'] ) )
$action_links[] = '<a target="_blank" href="' . esc_attr( $plugin['homepage'] ) . '" title="' . esc_attr( sprintf( __( 'More information on %s' ), $name ) ) . '">' . __('Info') . '</a>';
$action_links = apply_filters('plugin_install_action_links', $action_links, $plugin);
$action_links = apply_filters( 'plugin_install_action_links', $action_links, $plugin );
?>
<tr>
<td class="name"><strong><?php echo $title; ?></strong>