WordPress.org

Make WordPress Core

Ticket #36572: 36572-link-only.diff

File 36572-link-only.diff, 590 bytes (added by Kau-Boy, 4 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                /* translators: %s: Name of current post */
     267                $more_link_text = sprintf( __( '<span aria-label="Continue reading %s">(more&hellip;)</span>' ), get_the_title() );
     268        }
    267269
    268270        $output = '';
    269271        $has_teaser = false;