WordPress.org

Make WordPress Core

Changeset 18312


Ignore:
Timestamp:
06/14/2011 03:14:24 PM (7 years ago)
Author:
dd32
Message:

Consistently wrap the "Pages:" text in <span> tags, Combine the 2 identical translations for the Pages text (one with, and one without, span tags). See #17744

Location:
trunk/wp-content/themes/twentyeleven
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/content-aside.php

    r18276 r18312  
    3232        <div class="entry-content">
    3333            <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?>
    34             <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyeleven' ), 'after' => '</div>' ) ); ?>
     34            <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
    3535        </div><!-- .entry-content -->
    3636        <?php endif; ?>
  • trunk/wp-content/themes/twentyeleven/content-featured.php

    r18244 r18312  
    2121    <div class="entry-summary">
    2222        <?php the_excerpt(); ?>
    23         <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyeleven' ), 'after' => '</div>' ) ); ?>
     23        <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
    2424    </div><!-- .entry-content -->
    2525
  • trunk/wp-content/themes/twentyeleven/content-gallery.php

    r18266 r18312  
    5252            <?php the_excerpt(); ?>
    5353        <?php endif; ?>
    54         <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyeleven' ), 'after' => '</div>' ) ); ?>
     54        <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
    5555    </div><!-- .entry-content -->
    5656    <?php endif; ?>
  • trunk/wp-content/themes/twentyeleven/content-image.php

    r18274 r18312  
    2626        <div class="entry-content">
    2727            <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?>
    28             <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( '<span>Pages:</span>', 'twentyeleven' ), 'after' => '</div>' ) ); ?>
     28            <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
    2929        </div><!-- .entry-content -->
    3030
  • trunk/wp-content/themes/twentyeleven/content-intro.php

    r18276 r18312  
    1616    <div class="entry-content">
    1717        <?php the_content(); ?>
    18         <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyeleven' ), 'after' => '</div>' ) ); ?>
     18        <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
    1919        <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
    2020    </div><!-- .entry-content -->
  • trunk/wp-content/themes/twentyeleven/content-link.php

    r18276 r18312  
    3232        <div class="entry-content">
    3333            <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?>
    34             <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyeleven' ), 'after' => '</div>' ) ); ?>
     34            <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
    3535        </div><!-- .entry-content -->
    3636        <?php endif; ?>
  • trunk/wp-content/themes/twentyeleven/content-page.php

    r17959 r18312  
    1616    <div class="entry-content">
    1717        <?php the_content(); ?>
    18         <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyeleven' ), 'after' => '</div>' ) ); ?>
     18        <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
    1919        <?php edit_post_link( __( 'Edit', 'twentyeleven' ), '<span class="edit-link">', '</span>' ); ?>
    2020    </div><!-- .entry-content -->
  • trunk/wp-content/themes/twentyeleven/content-quote.php

    r18274 r18312  
    3434        <div class="entry-content">
    3535            <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?>
    36             <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( '<span>Pages:</span>', 'twentyeleven' ), 'after' => '</div>' ) ); ?>
     36            <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
    3737        </div><!-- .entry-content -->
    3838        <?php endif; ?>
  • trunk/wp-content/themes/twentyeleven/content-single.php

    r18266 r18312  
    2222    <div class="entry-content">
    2323        <?php the_content(); ?>
    24         <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( '<span>Pages:</span>', 'twentyeleven' ), 'after' => '</div>' ) ); ?>
     24        <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
    2525    </div><!-- .entry-content -->
    2626
  • trunk/wp-content/themes/twentyeleven/content-status.php

    r18276 r18312  
    3333
    3434            <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?>
    35             <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyeleven' ), 'after' => '</div>' ) ); ?>
     35            <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
    3636        </div><!-- .entry-content -->
    3737        <?php endif; ?>
  • trunk/wp-content/themes/twentyeleven/content.php

    r18266 r18312  
    4040        <div class="entry-content">
    4141            <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?>
    42             <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( '<span>Pages:</span>', 'twentyeleven' ), 'after' => '</div>' ) ); ?>
     42            <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
    4343        </div><!-- .entry-content -->
    4444        <?php endif; ?>
  • trunk/wp-content/themes/twentyeleven/image.php

    r18270 r18312  
    8686                        <div class="entry-description">
    8787                            <?php the_content(); ?>
    88                             <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyeleven' ), 'after' => '</div>' ) ); ?>
     88                            <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'twentyeleven' ) . '</span>', 'after' => '</div>' ) ); ?>
    8989                        </div><!-- .entry-description -->
    9090
Note: See TracChangeset for help on using the changeset viewer.