Make WordPress Core


Ignore:
Timestamp:
01/22/2015 12:41:58 AM (10 years ago)
Author:
lancewillett
Message:

Twenty Ten: fix escaping and minor code style issues. See #29127.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyten/loop-single.php

    r25868 r31266  
    4747                            <?php the_author_meta( 'description' ); ?>
    4848                            <div id="author-link">
    49                                 <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>" rel="author">
     49                                <a href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
    5050                                    <?php printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'twentyten' ), get_the_author() ); ?>
    5151                                </a>
Note: See TracChangeset for help on using the changeset viewer.