WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/05/2014 04:51:55 AM (8 years ago)
Author:
SergeyBiryukov
Message:

Remove redundant 'Visit author homepage' title attributes for plugins and themes.

props joedolson.
fixes #26554.

File:
1 edited

Legend:

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

    r28547 r28673  
    663663            case 'Author' :
    664664                if ( $this->get('AuthorURI') ) {
    665                     static $attr = null;
    666                     if ( ! isset( $attr ) )
    667                         $attr = esc_attr__( 'Visit author homepage' );
    668                     $value = sprintf( '<a href="%1$s" title="%2$s">%3$s</a>', $this->display( 'AuthorURI', true, $translate ), $attr, $value );
     665                    $value = sprintf( '<a href="%1$s">%2$s</a>', $this->display( 'AuthorURI', true, $translate ), $value );
    669666                } elseif ( ! $value ) {
    670667                    $value = __( 'Anonymous' );
Note: See TracChangeset for help on using the changeset viewer.