Make WordPress Core

Ticket #55564: 55564.patch

File 55564.patch, 922 bytes (added by sabernhardt, 2 years ago)

editing translator comment plus content more comment

  • src/wp-content/themes/twentytwentyone/inc/template-functions.php

     
    134134 */
    135135function twenty_twenty_one_continue_reading_text() {
    136136        $continue_reading = sprintf(
    137                 /* translators: %s: Name of current post. */
     137                /* translators: %s: Post title. Only visible to screen readers. */
    138138                esc_html__( 'Continue reading %s', 'twentytwentyone' ),
    139139                the_title( '<span class="screen-reader-text">', '</span>', false )
    140140        );
     
    167167        }
    168168}
    169169
    170 // Filter the excerpt more link.
     170// Filter the content more link.
    171171add_filter( 'the_content_more_link', 'twenty_twenty_one_continue_reading_link' );
    172172
    173173if ( ! function_exists( 'twenty_twenty_one_post_title' ) ) {