WordPress.org

Make WordPress Core

Ticket #13198: twentyten-typo-comment-description.patch

File twentyten-typo-comment-description.patch, 1.9 KB (added by zeo, 5 years ago)
  • wp-content/themes/twentyten/author.php

     
    1717 
    1818                                <h1 class="page-title author"><?php printf( __( 'Author Archives: <span class="vcard">%s</span>', 'twentyten' ), "<a class='url fn n' href='" . get_author_posts_url( get_the_author_meta( 'ID' ) ) . "' title='" . esc_attr( get_the_author() ) . "' rel='me'>" . get_the_author() . "</a>" ); ?></h1> 
    1919 
    20 <?php if ( get_the_author_meta( 'description' ) ) : // If a user has filled out their decscription show a bio on their entries  ?> 
     20<?php if ( get_the_author_meta( 'description' ) ) : // If a user has filled out their description, show a bio on their entries  ?> 
    2121                                        <div id="entry-author-info"> 
    2222                                                <div id="author-avatar"> 
    2323                                                        <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyten_author_bio_avatar_size', 60 ) ); ?> 
  • wp-content/themes/twentyten/single.php

     
    3535                                                <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?> 
    3636                                        </div><!-- .entry-content --> 
    3737 
    38 <?php if ( get_the_author_meta( 'description' ) ) : // If a user has filled out their decscription show a bio on their entries  ?> 
     38<?php if ( get_the_author_meta( 'description' ) ) : // If a user has filled out their description, show a bio on their entries  ?> 
    3939                                        <div id="entry-author-info"> 
    4040                                                <div id="author-avatar"> 
    4141                                                        <?php echo get_avatar( get_the_author_meta( 'user_email' ), apply_filters( 'twentyten_author_bio_avatar_size', 60 ) ); ?>