Make WordPress Core

Ticket #24766: 24766-4.patch

File 24766-4.patch, 1.4 KB (added by adnan.limdi, 17 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..a1c8be8ab6 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
    function wp_list_authors( $args = '' ) { 
    531529                }
    532530
    533531                $link = sprintf(
    534                         '<a href="%1$s" title="%2$s">%3$s</a>',
     532                        '<a href="%1$s" >%3$s</a>',
    535533                        esc_url( get_author_posts_url( $author->ID, $author->user_nicename ) ),
    536534                        /* translators: %s: Author's display name. */
    537                         esc_attr( sprintf( __( 'Posts by %s' ), $author->display_name ) ),
    538535                        $name
    539536                );
    540537