Make WordPress Core


Ignore:
Timestamp:
02/08/2013 04:20:01 PM (11 years ago)
Author:
helen
Message:

Open external links to plugin homepages, plugin author homepages, and theme author homepages in a new window/tab. props SergeyBiryukov. fixes #20839.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-theme.php

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