CoreFiles by mySites.guru
entry-author-bio.php33 lines, 922 bytes, from wordpress-5.3-beta1.zip
Raw History Compare with 5.2-beta3
md5
c4ed217c8dacf93a2ea1e56354351998
sha1
04b0a637667498d5fefc5e452e08078af6b3a62a
sha256
5ffef8fe4a85721a7f5c0b27a4923ca9c332d221264d583c01568b6c7739f866
<?php
/**
 * The template for displaying Author info
 *
 * @package WordPress
 * @subpackage Twenty_Twenty
 * @since 1.0.0
 */

if ( (bool) get_the_author_meta( 'description' ) ) : ?>
<div class="author-bio">
		<h2 class="author-title heading-size-4">
			<div class="author-avatar vcard">
				<?php echo get_avatar( get_the_author_meta( 'ID' ), 160 ); ?>
			</div>
			<span class="author-name">
				<?php
				printf(
					/* Translators: %s: post author */
					esc_html( 'By %s', 'twentytwenty' ),
					esc_html( get_the_author() )
				);
				?>
			</span>
		</h2>
		<p class="author-description">
			<?php the_author_meta( 'description' ); ?>
			<a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
				<?php esc_html_e( 'View Archive &rarr;', 'twentytwenty' ); ?>
			</a>
		</p><!-- .author-description -->
</div><!-- .author-bio -->
<?php endif; ?>

No other release has this exact content. See every version of this file.