WordPress.org

Make WordPress Core

Ticket #22008: 22008.patch

File 22008.patch, 1.1 KB (added by SergeyBiryukov, 3 years ago)
  • wp-content/themes/twentytwelve/single.php

     
    1818 
    1919                                <nav class="nav-single"> 
    2020                                        <h3 class="assistive-text"><?php _e( 'Post navigation', 'twentytwelve' ); ?></h3> 
    21                                         <span class="nav-previous"><?php previous_post_link( '%link', __( '<span class="meta-nav">&larr;</span>', 'twentytwelve' ) . ' %title' ); ?></span> 
    22                                         <span class="nav-next"><?php next_post_link( '%link', '%title ' . __( '<span class="meta-nav">&rarr;</span>', 'twentytwelve' ) ); ?></span> 
     21                                        <span class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '&larr;', 'Previous post link', 'twentytwelve' ) . '</span> %title' ); ?></span> 
     22                                        <span class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">' . _x( '&rarr;', 'Next post link', 'twentytwelve' ) . '</span>' ); ?></span> 
    2323                                </nav><!-- .nav-single --> 
    2424 
    2525                                <?php