Make WordPress Core

Changeset 29171


Ignore:
Timestamp:
07/14/2014 07:49:15 PM (10 years ago)
Author:
ocean90
Message:

Remove plugin_install_details_link filter, which was added in [29047].

see #28785.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php

    r29152 r29171  
    280280                                '&TB_iframe=true&width=600&height=550' );
    281281
    282             /**
    283              * Filter the details link for a plugin.
    284              *
    285              * @since 4.0.0
    286              *
    287              * @param array $details_link Link to view the current plugin's details.
    288              * @param array $plugin       The plugin currently being listed.
    289              */
    290             $details_link = apply_filters( 'plugin_install_details_link', $details_link, $plugin );
    291 
    292282            $action_links[] = '<a href="' . esc_attr( $details_link ) . '" class="thickbox" title="' .
    293283                                esc_attr( sprintf( __( 'More information about %s' ), $name ) ) . '">' . __( 'More Details' ) . '</a>';
     
    305295        <div class="plugin-card">
    306296            <div class="plugin-card-top">
    307                 <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>
     297                <div class="name column-name"<?php echo $style['name']; ?>>
     298                    <h4><a href="<?php echo esc_attr( $details_link ) ?>" class="thickbox"><?php echo $title; ?></a></h4>
    308299                    <div class="action-links">
    309300                        <?php
Note: See TracChangeset for help on using the changeset viewer.