diff options
author | 2022-06-15 12:08:35 -0400 | |
---|---|---|
committer | 2022-06-15 12:08:35 -0400 | |
commit | 36d7691c33cb64ece817246e47a779ec648d10b0 (patch) | |
tree | 08f2fb95303a1d8eeba2c8629a24b35a91fb1cac /plugins/jetpack/modules/theme-tools/content-options/author-bio.php | |
parent | twentyfourteen upg 2.7 to 3.2 and twentysixteen from 2.0 to 2.5 (diff) | |
download | blogs-gentoo-36d7691c33cb64ece817246e47a779ec648d10b0.tar.gz blogs-gentoo-36d7691c33cb64ece817246e47a779ec648d10b0.tar.bz2 blogs-gentoo-36d7691c33cb64ece817246e47a779ec648d10b0.zip |
Openid-3.6.1 and jetpack-11.0 upgrade
Signed-off-by: Yury German <blueknight@gentoo.org>
Diffstat (limited to 'plugins/jetpack/modules/theme-tools/content-options/author-bio.php')
-rw-r--r-- | plugins/jetpack/modules/theme-tools/content-options/author-bio.php | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/plugins/jetpack/modules/theme-tools/content-options/author-bio.php b/plugins/jetpack/modules/theme-tools/content-options/author-bio.php index 89d4603c..956cba46 100644 --- a/plugins/jetpack/modules/theme-tools/content-options/author-bio.php +++ b/plugins/jetpack/modules/theme-tools/content-options/author-bio.php @@ -1,5 +1,11 @@ <?php /** + * Theme Tools: Author Bio functions. + * + * @package automattic/jetpack + */ + +/** * The function to display Author Bio in a theme. */ function jetpack_author_bio() { @@ -46,13 +52,21 @@ function jetpack_author_bio() { </div><!-- .author-avatar --> <div class="author-heading"> - <h2 class="author-title"><?php printf( esc_html__( 'Published by %s', 'jetpack' ), '<span class="author-name">' . get_the_author() . '</span>' ); ?></h2> + <h2 class="author-title"> + <?php + /* translators: %s: post author */ + printf( esc_html__( 'Published by %s', 'jetpack' ), '<span class="author-name">' . get_the_author() . '</span>' ); + ?> + </h2> </div><!-- .author-heading --> <p class="author-bio"> <?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 printf( esc_html__( 'View all posts by %s', 'jetpack' ), get_the_author() ); ?> + <?php + /* translators: %s: post author */ + printf( esc_html__( 'View all posts by %s', 'jetpack' ), get_the_author() ); + ?> </a> </p><!-- .author-bio --> </div><!-- .entry-auhtor --> |