Twenty Twelve: remove unnecessary class values in posts navigation, fixes #23152. Props DrewAPicture.
git-svn-id: https://develop.svn.wordpress.org/trunk@23427 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
412b37a490
commit
7d61808bc6
@ -248,8 +248,8 @@ function twentytwelve_content_nav( $html_id ) {
|
|||||||
if ( $wp_query->max_num_pages > 1 ) : ?>
|
if ( $wp_query->max_num_pages > 1 ) : ?>
|
||||||
<nav id="<?php echo $html_id; ?>" class="navigation" role="navigation">
|
<nav id="<?php echo $html_id; ?>" class="navigation" role="navigation">
|
||||||
<h3 class="assistive-text"><?php _e( 'Post navigation', 'twentytwelve' ); ?></h3>
|
<h3 class="assistive-text"><?php _e( 'Post navigation', 'twentytwelve' ); ?></h3>
|
||||||
<div class="nav-previous alignleft"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', 'twentytwelve' ) ); ?></div>
|
<div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', 'twentytwelve' ) ); ?></div>
|
||||||
<div class="nav-next alignright"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?></div>
|
<div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?></div>
|
||||||
</nav><!-- #<?php echo $html_id; ?> .navigation -->
|
</nav><!-- #<?php echo $html_id; ?> .navigation -->
|
||||||
<?php endif;
|
<?php endif;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user