~canonical-sysadmins/wordpress/4.8.3

« back to all changes in this revision

Viewing changes to wp-content/themes/twentyfifteen/inc/template-tags.php

  • Committer: Ryan Finnie
  • Date: 2015-08-31 16:09:47 UTC
  • mfrom: (1.1.9 upstream)
  • Revision ID: ryan.finnie@canonical.com-20150831160947-1h6rfxby9z1ec62u
Merge WP4.3 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
 
120
120
        if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
121
121
                echo '<span class="comments-link">';
122
 
                comments_popup_link( __( 'Leave a comment', 'twentyfifteen' ), __( '1 Comment', 'twentyfifteen' ), __( '% Comments', 'twentyfifteen' ) );
 
122
                /* translators: %s: post title */
 
123
                comments_popup_link( sprintf( __( 'Leave a comment<span class="screen-reader-text"> on %s</span>', 'twentyfifteen' ), get_the_title() ) );
123
124
                echo '</span>';
124
125
        }
125
126
}