WordPress.org

Make WordPress Core

Ticket #13123: twentyten-single-nav-i18n.patch

File twentyten-single-nav-i18n.patch, 983 bytes (added by yoavf, 4 years ago)
  • wp-content/themes/twentyten/single.php

     
    1616<?php the_post(); ?> 
    1717 
    1818                                <div id="nav-above" class="navigation"> 
    19                                         <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">&larr;</span> %title' ); ?></div> 
    20                                         <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav">&rarr;</span>' ); ?></div> 
     19                                        <div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">'._x('&larr;', 'Previous post link', 'twentyten').'</span> %title' ); ?></div> 
     20                                        <div class="nav-next"><?php next_post_link( '%link', '%title <span class="meta-nav"'._x('&larr;', 'Next post link', 'twentyten').'</span>' ); ?></div> 
    2121                                </div><!-- #nav-above --> 
    2222 
    2323                                <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>