Make WordPress Core

Changeset 24583


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.

Location:
trunk
Files:
4 edited

Legend:

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

    r24379 r24583  
    332332
    333333                    if ( $theme->get('ThemeURI') )
    334                         $theme_meta[] = '<a href="' . $theme->display('ThemeURI') . '" title="' . esc_attr__( 'Visit theme homepage' ) . '" target="_blank">' . __( 'Visit Theme Site' ) . '</a>';
     334                        $theme_meta[] = '<a href="' . $theme->display('ThemeURI') . '" title="' . esc_attr__( 'Visit theme homepage' ) . '">' . __( 'Visit Theme Site' ) . '</a>';
    335335
    336336                    $theme_meta = apply_filters( 'theme_row_meta', $theme_meta, $stylesheet, $theme, $status );
  • 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 );
  • trunk/wp-admin/includes/plugin.php

    r23394 r24583  
    158158    if ( $markup ) {
    159159        if ( $plugin_data['PluginURI'] && $plugin_data['Name'] )
    160             $plugin_data['Title'] = '<a href="' . $plugin_data['PluginURI'] . '" title="' . esc_attr__( 'Visit plugin homepage' ) . '" target="_blank">' . $plugin_data['Name'] . '</a>';
     160            $plugin_data['Title'] = '<a href="' . $plugin_data['PluginURI'] . '" title="' . esc_attr__( 'Visit plugin homepage' ) . '">' . $plugin_data['Name'] . '</a>';
    161161
    162162        if ( $plugin_data['AuthorURI'] && $plugin_data['Author'] )
    163             $plugin_data['Author'] = '<a href="' . $plugin_data['AuthorURI'] . '" title="' . esc_attr__( 'Visit author homepage' ) . '" target="_blank">' . $plugin_data['Author'] . '</a>';
     163            $plugin_data['Author'] = '<a href="' . $plugin_data['AuthorURI'] . '" title="' . esc_attr__( 'Visit author homepage' ) . '">' . $plugin_data['Author'] . '</a>';
    164164
    165165        $plugin_data['Description'] = wptexturize( $plugin_data['Description'] );
  • trunk/wp-includes/class-wp-theme.php

    r24229 r24583  
    653653                    if ( ! isset( $attr ) )
    654654                        $attr = esc_attr__( 'Visit author homepage' );
    655                     $value = sprintf( '<a href="%1$s" title="%2$s" target="_blank">%3$s</a>', $this->display( 'AuthorURI', true, $translate ), $attr, $value );
     655                    $value = sprintf( '<a href="%1$s" title="%2$s">%3$s</a>', $this->display( 'AuthorURI', true, $translate ), $attr, $value );
    656656                } elseif ( ! $value ) {
    657657                    $value = __( 'Anonymous' );
Note: See TracChangeset for help on using the changeset viewer.