Skip to content

Commit

Permalink
_s: Simplifying the markup for template tags
Browse files Browse the repository at this point in the history
  • Loading branch information
ianstewart committed Jan 11, 2012
1 parent caee136 commit ea9222c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/template-tags.php
Expand Up @@ -19,7 +19,7 @@ function _s_content_nav( $nav_id ) {

?>
<nav id="<?php echo $nav_id; ?>">
<h1 class="assistive-text section-heading"><?php _e( 'Post navigation', '_s' ); ?></h1>
<h1 class="assistive-text"><?php _e( 'Post navigation', '_s' ); ?></h1>

<?php if ( is_single() ) : // navigation links for single posts ?>

Expand Down Expand Up @@ -106,7 +106,7 @@ function _s_comment( $comment, $args, $depth ) {
* @since _s 1.0
*/
function _s_posted_on() {
printf( __( '<span class="sep">Posted on </span><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a><span class="byline"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', '_s' ),
printf( __( 'Posted on <a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a><span class="byline"> by <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', '_s' ),
esc_url( get_permalink() ),
esc_attr( get_the_time() ),
esc_attr( get_the_date( 'c' ) ),
Expand Down

0 comments on commit ea9222c

Please sign in to comment.