CoreFiles by mySites.guru
author-bio.php22 lines, 721 bytes, from wordpress-5.0.zip
Raw History Compare with 4.9.36
md5
d4e7443e23d9cb215555216be6160222
sha1
ffd6627de847e4209d75978c2f59e953f4629b63
sha256
5d23dd89646a70efdc90a5a805757a29224c7df5c2287a16f2d48db7e3164590
<?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 echo esc_html( sprintf( __( 'Published by %s', 'twentynineteen' ), 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 8 releases, WordPress 5.0-beta3 to 5.0.1. See them all, or every version of this file.