WordPress.org

Make WordPress Core

Changeset 29991


Ignore:
Timestamp:
10/22/2014 04:29:49 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Twenty Fifteen: Include post title in Continue Reading link in Link post format.

props davidakennedy.
fixes #30070.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/content-link.php

    r29892 r29991  
    2020
    2121    <div class="entry-content">
    22         <?php the_content( __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyfifteen' ) ); ?>
    2322        <?php
     23            /* translators: %s: Name of current post */
     24            the_content( sprintf(
     25                esc_html__( 'Continue reading %s', 'twentyfifteen' ),
     26                the_title( '<span class="screen-reader-text">', '</span>', false )
     27            ) );
     28
    2429            wp_link_pages( array(
    2530                'before'      => '<div class="page-links"><span class="page-links-title">' . esc_html__( 'Pages:', 'twentyfifteen' ) . '</span>',
Note: See TracChangeset for help on using the changeset viewer.