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

git-svn-id: http://svn.automattic.com/wordpress/trunk@13522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-03-01 06:01:00 +00:00
parent d562d6dd89
commit 9a05d19cba
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>