Make WordPress Core


Ignore:
Timestamp:
04/29/2022 05:01:22 AM (2 years ago)
Author:
peterwilsoncc
Message:

Bundled Themes: Note visually hidden text for translators.

Indicate the use of screen reader only text in translator comments.

Props sabernhardt.
Fixes #55591.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/inc/template-tags.php

    r51967 r53308  
    227227            '<a href="%1$s" class="more-link">%2$s</a>',
    228228            esc_url( get_permalink( get_the_ID() ) ),
    229             /* translators: %s: Post title. */
     229            /* translators: %s: Post title. Only visible to screen readers. */
    230230            sprintf( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentyfourteen' ), '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>' )
    231231        );
Note: See TracChangeset for help on using the changeset viewer.