Remove `plugin_install_details_link` filter, which was added in [29047].
see #28785. Built from https://develop.svn.wordpress.org/trunk@29171 git-svn-id: http://core.svn.wordpress.org/trunk@28955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
57c914f75a
commit
d8ffbb19fc
|
@ -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