WordPress.org

Make WordPress Core

Ticket #32096: 32096.2.diff

File 32096.2.diff, 1.0 KB (added by rclations, 4 years ago)
  • src/wp-content/themes/twentyfifteen/author-bio.php

     
    88 */
    99?>
    1010
     11<?php if ( get_the_author_meta( 'user_nicename' ) === 'bio' ) : ?>
     12        <?php get_template_part('archive'); ?>
     13<?php endif; ?>
     14
    1115<div class="author-info">
    1216        <h2 class="author-heading"><?php _e( 'Published by', 'twentyfifteen' ); ?></h2>
    1317        <div class="author-avatar">
  • src/wp-content/themes/twentythirteen/author-bio.php

     
    88 */
    99?>
    1010
     11<?php if ( get_the_author_meta( 'user_nicename' ) === 'bio' ) : ?>
     12        <?php get_template_part('author'); ?>
     13<?php endif; ?>
     14
    1115<div class="author-info">
    1216        <div class="author-avatar">
    1317                <?php