Make WordPress Core

Ticket #36572: 36572-inline-styles.diff

File 36572-inline-styles.diff, 743 bytes (added by Kau-Boy, 9 years ago)

patch using inline styles

  • wp-includes/post-template.php

     
    263263        $post = get_post();
    264264
    265265        if ( null === $more_link_text )
    266                 $more_link_text = __( '(more…)' );
     266                /* translators: 1: Inline CSS to hide the screen reader text, 2: Name of current post */
     267                $more_link_text = sprintf(
     268                        __( '<span style="%1$s">Continue reading %2$s</span><span aria-hidden="true">(more&hellip;)</span>' ),
     269                        'clip: rect(1px, 1px, 1px, 1px); height: 1px; overflow: hidden; position: absolute !important; width: 1px;',
     270                        get_the_title()
     271                );
    267272
    268273        $output = '';
    269274        $has_teaser = false;