Make WordPress Core

Ticket #60013: 60013-3.patch

File 60013-3.patch, 1.0 KB (added by adnan.limdi, 8 months ago)

Remove Unwanted title for author template file.

  • src/wp-includes/author-template.php

    diff --git a/src/wp-includes/author-template.php b/src/wp-includes/author-template.php
    index 184d7d0f38..02c291cdac 100644
    a b function get_the_author_link() { 
    238238                $author_display_name = get_the_author();
    239239
    240240                $link = sprintf(
    241                         '<a href="%1$s" title="%2$s" rel="author external">%3$s</a>',
     241                        '<a href="%1$s" rel="author external">%3$s</a>',
    242242                        esc_url( $author_url ),
    243243                        /* translators: %s: Author's display name. */
    244                         esc_attr( sprintf( __( 'Visit %s&#8217;s website' ), $author_display_name ) ),
    245244                        $author_display_name
    246245                );
    247246
    function get_the_author_posts_link() { 
    318317        }
    319318
    320319        $link = sprintf(
    321                 '<a href="%1$s" title="%2$s" rel="author">%3$s</a>',
     320                '<a href="%1$s" rel="author">%3$s</a>',
    322321                esc_url( get_author_posts_url( $authordata->ID, $authordata->user_nicename ) ),
    323322                /* translators: %s: Author's display name. */
    324                 esc_attr( sprintf( __( 'Posts by %s' ), get_the_author() ) ),
    325323                get_the_author()
    326324        );
    327325