Make WordPress Core

Ticket #36572: 36572-link-only.2.diff

File 36572-link-only.2.diff, 659 bytes (added by Kau-Boy, 9 years ago)
  • src/wp-includes/post-template.php

     
    262262
    263263        $post = get_post();
    264264
    265         if ( null === $more_link_text )
    266                 $more_link_text = __( '(more…)' );
     265        if ( null === $more_link_text ) {
     266                $more_link_text = sprintf(
     267                        '<span aria-label="%1$s">%2$s</span>',
     268                        sprintf(
     269                                /* translators: %s: Name of current post */
     270                                __( 'Continue reading %s' ),
     271                                get_the_title()
     272                        ),
     273                        __( '(more&hellip;)' )
     274                );
     275        }
    267276
    268277        $output = '';
    269278        $has_teaser = false;