Make WordPress Core

Ticket #27908: 27908-twentyten.patch

File 27908-twentyten.patch, 2.8 KB (added by dominik.schwind, 11 years ago)

Patch for the twentyten theme.

  • src/wp-content/themes/twentyten/loop-attachment.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    115115                                                </div><!-- .entry-attachment -->
    116116                                                <div class="entry-caption"><?php if ( !empty( $post->post_excerpt ) ) the_excerpt(); ?></div>
    117117
    118 <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>
     118<?php the_content( __( 'Continue&nbsp;reading&nbsp;<span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>
    119119<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
    120120
    121121                                        </div><!-- .entry-content -->
  • src/wp-content/themes/twentyten/functions.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    277277 * @return string "Continue Reading" link.
    278278 */
    279279function twentyten_continue_reading_link() {
    280         return ' <a href="'. get_permalink() . '">' . __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) . '</a>';
     280        return ' <a href="'. get_permalink() . '">' . __( 'Continue&nbsp;reading&nbsp;<span class="meta-nav">&rarr;</span>', 'twentyten' ) . '</a>';
    281281}
    282282endif;
    283283
  • src/wp-content/themes/twentyten/loop.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    113113                        </div><!-- .entry-summary -->
    114114                <?php else : ?>
    115115                        <div class="entry-content">
    116                                 <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>
     116                                <?php the_content( __( 'Continue&nbsp;reading&nbsp;<span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>
    117117                        </div><!-- .entry-content -->
    118118                <?php endif; ?>
    119119
     
    141141                        </div><!-- .entry-summary -->
    142142        <?php else : ?>
    143143                        <div class="entry-content">
    144                                 <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>
     144                                <?php the_content( __( 'Continue&nbsp;reading&nbsp;<span class="meta-nav">&rarr;</span>', 'twentyten' ) ); ?>
    145145                                <?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'twentyten' ), 'after' => '</div>' ) ); ?>
    146146                        </div><!-- .entry-content -->
    147147        <?php endif; ?>