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:
parent
d562d6dd89
commit
9a05d19cba
|
@ -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&plugin=' . $plugin['slug'] .
|
$action_links[] = '<a href="' . admin_url('plugin-install.php?tab=plugin-information&plugin=' . $plugin['slug'] .
|
||||||
'&TB_iframe=true&width=600&height=550') . '" class="thickbox onclick" title="' .
|
'&TB_iframe=true&width=600&height=550') . '" class="thickbox onclick" title="' .
|
||||||
esc_attr( sprintf( __( 'Install %s' ), $name ) ) . '">' . __('Install') . '</a>';
|
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>
|
<tr>
|
||||||
<td class="name"><strong><?php echo $title; ?></strong>
|
<td class="name"><strong><?php echo $title; ?></strong>
|
||||||
|
|
Loading…
Reference in New Issue