Make WordPress Core


Ignore:
Timestamp:
01/22/2015 12:41:58 AM (9 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/author.php

    r25746 r31266  
    2626?>
    2727
    28                 <h1 class="page-title author"><?php printf( __( 'Author Archives: %s', 'twentyten' ), "<span class='vcard'><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></span>" ); ?></h1>
     28                <h1 class="page-title author"><?php printf( __( 'Author Archives: %s', 'twentyten' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' ); ?></h1>
    2929
    3030<?php
     
    6464     * called loop-author.php and that will be used instead.
    6565     */
    66      get_template_part( 'loop', 'author' );
     66    get_template_part( 'loop', 'author' );
    6767?>
    6868            </div><!-- #content -->
Note: See TracChangeset for help on using the changeset viewer.