WordPress.org

Make WordPress Core

Changeset 14935


Ignore:
Timestamp:
05/26/10 05:35:14 (4 years ago)
Author:
nacin
Message:

In Twenty Ten, make classes on larr/rarr consistent, and make sure those are translated. props zeo, see #13198.

Location:
trunk/wp-content/themes/twentyten
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyten/attachment.php

    r14932 r14935  
    1616<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> 
    1717 
    18                 <p class="page-title"><a href="<?php echo get_permalink( $post->post_parent ); ?>" title="<?php esc_attr( printf( __( 'Return to %s', 'twentyten' ), get_the_title( $post->post_parent ) ) ); ?>" rel="gallery">&larr; <?php echo get_the_title( $post->post_parent ); ?></a></p> 
     18                <p class="page-title"><a href="<?php echo get_permalink( $post->post_parent ); ?>" title="<?php esc_attr( printf( __( 'Return to %s', 'twentyten' ), get_the_title( $post->post_parent ) ) ); ?>" rel="gallery"><?php 
     19                    /* translators: %s - title of parent post */ 
     20                    printf( __( '<span class="meta-nav">&larr;</span> %s' ), get_the_title( $post->post_parent ) ); 
     21                ?></a></p> 
    1922 
    2023                <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> 
  • trunk/wp-content/themes/twentyten/comments.php

    r14786 r14935  
    3939<?php if ( get_comment_pages_count() > 1 ) : // Are there comments to navigate through? ?> 
    4040            <div class="navigation"> 
    41                 <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'twentyten' ) ); ?></div> 
    42                 <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'twentyten' ) ); ?></div> 
     41                <div class="nav-previous"><?php previous_comments_link( __( '<span class="meta-nav">&larr;</span> Older Comments', 'twentyten' ) ); ?></div> 
     42                <div class="nav-next"><?php next_comments_link( __( 'Newer Comments <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?></div> 
    4343            </div> <!-- .navigation --> 
    4444<?php endif; // check for comment navigation ?> 
     
    5858<?php if ( get_comment_pages_count() > 1 ) : // Are there comments to navigate through? ?> 
    5959            <div class="navigation"> 
    60                 <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', 'twentyten' ) ); ?></div> 
    61                 <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', 'twentyten' ) ); ?></div> 
     60                <div class="nav-previous"><?php previous_comments_link( __( '<span class="meta-nav">&larr;</span> Older Comments', 'twentyten' ) ); ?></div> 
     61                <div class="nav-next"><?php next_comments_link( __( 'Newer Comments <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?></div> 
    6262            </div><!-- .navigation --> 
    6363<?php endif; // check for comment navigation ?> 
  • trunk/wp-content/themes/twentyten/single.php

    r14786 r14935  
    4343                            <div id="author-link"> 
    4444                                <a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>"> 
    45                                     <?php printf( __( 'View all posts by %s &rarr;', 'twentyten' ), get_the_author() ); ?> 
     45                                    <?php printf( __( 'View all posts by %s <span class="meta-nav">&rarr;</span>', 'twentyten' ), get_the_author() ); ?> 
    4646                                </a> 
    4747                            </div><!-- #author-link --> 
Note: See TracChangeset for help on using the changeset viewer.