WordPress.org

Make WordPress Core

Changeset 23427


Ignore:
Timestamp:
02/15/13 16:38:04 (3 years ago)
Author:
lancewillett
Message:

Twenty Twelve: remove unnecessary class values in posts navigation, fixes #23152. Props DrewAPicture.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentytwelve/functions.php

    r22999 r23427  
    249249        <nav id="<?php echo $html_id; ?>" class="navigation" role="navigation"> 
    250250            <h3 class="assistive-text"><?php _e( 'Post navigation', 'twentytwelve' ); ?></h3> 
    251             <div class="nav-previous alignleft"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'twentytwelve' ) ); ?></div> 
    252             <div class="nav-next alignright"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentytwelve' ) ); ?></div> 
     251            <div class="nav-previous"><?php next_posts_link( __( '<span class="meta-nav">&larr;</span> Older posts', 'twentytwelve' ) ); ?></div> 
     252            <div class="nav-next"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentytwelve' ) ); ?></div> 
    253253        </nav><!-- #<?php echo $html_id; ?> .navigation --> 
    254254    <?php endif; 
Note: See TracChangeset for help on using the changeset viewer.