Ticket #22690: 22690.patch
| File 22690.patch, 1.0 KB (added by SergeyBiryukov, 6 months ago) |
|---|
-
wp-content/themes/twentytwelve/functions.php
244 244 global $wp_query; 245 245 246 246 if ( $wp_query->max_num_pages > 1 ) : ?> 247 <nav id="<?php echo $nav_id; ?>" class="navigation" role="navigation">247 <nav id="<?php echo esc_attr( $nav_id ); ?>" class="navigation" role="navigation"> 248 248 <h3 class="assistive-text"><?php _e( 'Post navigation', 'twentytwelve' ); ?></h3> 249 249 <div class="nav-previous alignleft"><?php next_posts_link( __( '<span class="meta-nav">←</span> Older posts', 'twentytwelve' ) ); ?></div> 250 250 <div class="nav-next alignright"><?php previous_posts_link( __( 'Newer posts <span class="meta-nav">→</span>', 'twentytwelve' ) ); ?></div> 251 </nav><!-- #<?php echo $nav_id; ?> .navigation -->251 </nav><!-- #<?php echo esc_attr( $nav_id ); ?> .navigation --> 252 252 <?php endif; 253 253 } 254 254 endif;
