CoreFiles by mySites.guru
author-bio.php30 lines, 779 bytes, from wordpress-5.3.21.zip
Raw History Compare with 5.3.20
md5
f7372e6726b7fc5c8169f0e4e2046b6d
sha1
8fdc80bf0c8c30725be2658d6a29b04100fa8dc9
sha256
ea93c8fa7e1a23b74543ba6d6c9024913b4284768d219a680d437f8e879d0ede
<?php
/**
 * The template for displaying Author info
 *
 * @package WordPress
 * @subpackage Twenty_Nineteen
 * @since 1.0.0
 */

if ( (bool) get_the_author_meta( 'description' ) ) : ?>
<div class="author-bio">
	<h2 class="author-title">
		<span class="author-heading">
			<?php
			printf(
				/* translators: %s: Post author. */
				__( 'Published by %s', 'twentynineteen' ),
				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 _e( 'View more posts', 'twentynineteen' ); ?>
		</a>
	</p><!-- .author-description -->
</div><!-- .author-bio -->
<?php endif; ?>

The same content is in 40 releases, WordPress 5.3-beta1 to 5.3.28. See them all, or every version of this file.