Make WordPress Core


Ignore:
Timestamp:
07/08/2013 01:04:07 PM (11 years ago)
Author:
nacin
Message:

Revert [23394] until there is a consensus on target="_blank" (or not) for these external links. see #20839.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-plugins-list-table.php

    r23658 r24583  
    412412                        $author = $plugin_data['Author'];
    413413                        if ( !empty( $plugin_data['AuthorURI'] ) )
    414                             $author = '<a href="' . $plugin_data['AuthorURI'] . '" title="' . esc_attr__( 'Visit author homepage' ) . '" target="_blank">' . $plugin_data['Author'] . '</a>';
     414                            $author = '<a href="' . $plugin_data['AuthorURI'] . '" title="' . esc_attr__( 'Visit author homepage' ) . '">' . $plugin_data['Author'] . '</a>';
    415415                        $plugin_meta[] = sprintf( __( 'By %s' ), $author );
    416416                    }
    417417                    if ( ! empty( $plugin_data['PluginURI'] ) )
    418                         $plugin_meta[] = '<a href="' . $plugin_data['PluginURI'] . '" title="' . esc_attr__( 'Visit plugin site' ) . '" target="_blank">' . __( 'Visit plugin site' ) . '</a>';
     418                        $plugin_meta[] = '<a href="' . $plugin_data['PluginURI'] . '" title="' . esc_attr__( 'Visit plugin site' ) . '">' . __( 'Visit plugin site' ) . '</a>';
    419419
    420420                    $plugin_meta = apply_filters( 'plugin_row_meta', $plugin_meta, $plugin_file, $plugin_data, $status );
Note: See TracChangeset for help on using the changeset viewer.