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/twentythirteen/functions.php

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