WordPress 4.0
[autoinstalls/wordpress.git] / wp-includes / class-wp-theme.php
index 6af098fe3b749e7e7658c6b650b78d29babb096a..eaf244b78e7d5b3989cee0023b3b7311854e1560 100644 (file)
@@ -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' );
                                }
@@ -726,7 +723,7 @@ final class WP_Theme implements ArrayAccess {
                                }
 
                                return $value;
-                               break;
+
                        default :
                                $value = translate( $value, $this->get('TextDomain') );
                }