Remove plugin_install_details_link
filter, which was added in [29047].
see #28785. git-svn-id: https://develop.svn.wordpress.org/trunk@29171 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
60b1befd8e
commit
1b2386e787
@ -279,16 +279,6 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
|
||||
$details_link = self_admin_url( 'plugin-install.php?tab=plugin-information&plugin=' . $plugin['slug'] .
|
||||
'&TB_iframe=true&width=600&height=550' );
|
||||
|
||||
/**
|
||||
* Filter the details link for a plugin.
|
||||
*
|
||||
* @since 4.0.0
|
||||
*
|
||||
* @param array $details_link Link to view the current plugin's details.
|
||||
* @param array $plugin The plugin currently being listed.
|
||||
*/
|
||||
$details_link = apply_filters( 'plugin_install_details_link', $details_link, $plugin );
|
||||
|
||||
$action_links[] = '<a href="' . esc_attr( $details_link ) . '" class="thickbox" title="' .
|
||||
esc_attr( sprintf( __( 'More information about %s' ), $name ) ) . '">' . __( 'More Details' ) . '</a>';
|
||||
|
||||
@ -304,7 +294,8 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {
|
||||
?>
|
||||
<div class="plugin-card">
|
||||
<div class="plugin-card-top">
|
||||
<div class="name column-name"<?php echo $style['name']; ?>><h4><a href="<?php echo esc_attr( $details_link ) ?>" class="thickbox"><?php echo $title; ?></a></h4>
|
||||
<div class="name column-name"<?php echo $style['name']; ?>>
|
||||
<h4><a href="<?php echo esc_attr( $details_link ) ?>" class="thickbox"><?php echo $title; ?></a></h4>
|
||||
<div class="action-links">
|
||||
<?php
|
||||
if ( ! empty( $action_links ) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user