WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/07/14 23:27:42 (2 years ago)
Author:
azaozz
Message:

Twenty Fifteen: add spaces after screen reader text strings to make them readable. Props nvwd, pavelevap, afercia. Fixes #30606.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/single.php

    r30394 r30781  
    3131            // Previous/next post navigation. 
    3232            the_post_navigation( array( 
    33                 'next_text' => _x( '<span class="meta-nav">Next <span class="screen-reader-text">post:</span></span><span class="post-title">%title</span>', 'Next post link', 'twentyfifteen' ), 
    34                 'prev_text' => _x( '<span class="meta-nav">Previous <span class="screen-reader-text">post:</span></span><span class="post-title">%title</span>', 'Previous post link', 'twentyfifteen' ) 
     33                'next_text' => _x( '<span class="meta-nav">Next <span class="screen-reader-text">post: </span></span><span class="post-title">%title</span>', 'Next post link', 'twentyfifteen' ), 
     34                'prev_text' => _x( '<span class="meta-nav">Previous <span class="screen-reader-text">post: </span></span><span class="post-title">%title</span>', 'Previous post link', 'twentyfifteen' ) 
    3535            ) ); 
    3636 
Note: See TracChangeset for help on using the changeset viewer.