Make WordPress Core

Ticket #46233: 46233.2.patch

File 46233.2.patch, 2.0 KB (added by shailu25, 2 years ago)

Patch Refreshed

  • src/wp-content/themes/twentyfifteen/inc/template-tags.php

    diff --git a/src/wp-content/themes/twentyfifteen/inc/template-tags.php b/src/wp-content/themes/twentyfifteen/inc/template-tags.php
    index 475423dd68..d2a0180f21 100644
    a b if ( ! function_exists( 'twentyfifteen_entry_meta' ) ) :  
    9797                if ( 'post' === get_post_type() ) {
    9898                        if ( is_singular() || is_multi_author() ) {
    9999                                printf(
    100                                         '<span class="byline"><span class="author vcard"><span class="screen-reader-text">%1$s </span><a class="url fn n" href="%2$s">%3$s</a></span></span>',
     100                                        '<span class="byline"><span class="screen-reader-text">%1$s </span><span class="author vcard"><a class="url fn n" href="%2$s">%3$s</a></span></span>',
    101101                                        /* translators: Hidden accessibility text. */
    102102                                        _x( 'Author', 'Used before post author name.', 'twentyfifteen' ),
    103103                                        esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
  • src/wp-content/themes/twentysixteen/inc/template-tags.php

    diff --git a/src/wp-content/themes/twentysixteen/inc/template-tags.php b/src/wp-content/themes/twentysixteen/inc/template-tags.php
    index a55799812f..5bb2ecbea3 100644
    a b if ( ! function_exists( 'twentysixteen_entry_meta' ) ) :  
    2121                if ( 'post' === get_post_type() ) {
    2222                        $author_avatar_size = apply_filters( 'twentysixteen_author_avatar_size', 49 );
    2323                        printf(
    24                                 '<span class="byline"><span class="author vcard">%1$s<span class="screen-reader-text">%2$s </span> <a class="url fn n" href="%3$s">%4$s</a></span></span>',
     24                                '<span class="byline">%1$s <span class="screen-reader-text">%2$s </span><span class="author vcard"><a class="url fn n" href="%3$s">%4$s</a></span></span>',
    2525                                get_avatar( get_the_author_meta( 'user_email' ), $author_avatar_size ),
    2626                                /* translators: Hidden accessibility text. */
    2727                                _x( 'Author', 'Used before post author name.', 'twentysixteen' ),