mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Remove redundant 'Visit author homepage' title attributes for plugins and themes.
props joedolson. fixes #26554. git-svn-id: https://develop.svn.wordpress.org/trunk@28673 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -662,10 +662,7 @@ final class WP_Theme implements ArrayAccess {
|
||||
break;
|
||||
case 'Author' :
|
||||
if ( $this->get('AuthorURI') ) {
|
||||
static $attr = null;
|
||||
if ( ! isset( $attr ) )
|
||||
$attr = esc_attr__( 'Visit author homepage' );
|
||||
$value = sprintf( '<a href="%1$s" title="%2$s">%3$s</a>', $this->display( 'AuthorURI', true, $translate ), $attr, $value );
|
||||
$value = sprintf( '<a href="%1$s">%2$s</a>', $this->display( 'AuthorURI', true, $translate ), $value );
|
||||
} elseif ( ! $value ) {
|
||||
$value = __( 'Anonymous' );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user