Make WordPress Core


Ignore:
Timestamp:
10/22/2019 06:25:45 PM (5 years ago)
Author:
desrosj
Message:

Bundled Themes: Update Twenty Twenty.

This brings trunk’s version of Twenty Twenty in-sync with GitHub.

For a complete list of changes since [46551], see https://github.com/WordPress/twentytwenty/compare/bc89c51...4549fd9.

Reviewed by SergeyBiryukov, desrosj, ianbelanger.
Props anlino, ianbelanger, poena, williampatton, nielslange, acosmin, intimez, itowhid06, decrecementofeliz, aristath, westonruter, mukesh27, jorgefilipecosta, karmatosed.
Fixes #48386.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwenty/template-parts/entry-author-bio.php

    r46446 r46571  
    1010if ( (bool) get_the_author_meta( 'description' ) ) : ?>
    1111<div class="author-bio">
    12         <h2 class="author-title heading-size-4">
    13             <div class="author-avatar vcard">
    14                 <?php echo get_avatar( get_the_author_meta( 'ID' ), 160 ); ?>
    15             </div>
    16             <span class="author-name">
    17                 <?php
    18                 printf(
    19                     /* translators: %s: Author name */
    20                     __( 'By %s', 'twentytwenty' ),
    21                     esc_html( get_the_author() )
    22                 );
    23                 ?>
    24             </span>
    25         </h2>
    26         <p class="author-description">
    27             <?php the_author_meta( 'description' ); ?>
    28             <a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
    29                 <?php _e( 'View Archive &rarr;', 'twentytwenty' ); ?>
    30             </a>
    31         </p><!-- .author-description -->
     12        <?php echo get_avatar( get_the_author_meta( 'ID' ), 160 ); ?>
     13        <div class="author-info">
     14            <h2 class="author-title heading-size-4">
     15                    <?php
     16                    printf(
     17                        /* translators: %s: Author name */
     18                        __( 'By %s', 'twentytwenty' ),
     19                        esc_html( get_the_author() )
     20                    );
     21                    ?>
     22            </h2>
     23            <p class="author-description">
     24                <?php the_author_meta( 'description' ); ?>
     25                <a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
     26                    <?php _e( 'View Archive &rarr;', 'twentytwenty' ); ?>
     27                </a>
     28            </p><!-- .author-description -->
     29        </div>
    3230</div><!-- .author-bio -->
    3331<?php endif; ?>
Note: See TracChangeset for help on using the changeset viewer.