CoreFiles by mySites.guru
author-bio.php30 lines, 793 bytes, from wordpress-5.6.21.zip
Raw History Compare with 5.6.20
md5
fb99115c12124ae7b918d177e798dcd3
sha1
fd042205afb7fc82e7c98621da96036d7f5f0ab4
sha256
ff3cc546b9cb3ff84df8412af774cb9929a946ac163ed0d14ae6ab2704c91ee2
<?php
/**
 * The template for displaying Author info
 *
 * @package WordPress
 * @subpackage Twenty_Nineteen
 * @since Twenty Nineteen 1.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 177 releases, WordPress 5.4-beta1 to 5.9-RC3. See them all, or every version of this file.