]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentyfifteen/inc/template-tags.php
WordPress 4.3
[autoinstalls/wordpress.git] / wp-content / themes / twentyfifteen / inc / template-tags.php
index 0a617c098f486ae571cc2cf0192a52d81dd5c19e..1baca524ad8b70be9b74902c3a34c707cf9c8027 100644 (file)
@@ -119,7 +119,8 @@ function twentyfifteen_entry_meta() {
 
        if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
                echo '<span class="comments-link">';
-               comments_popup_link( __( 'Leave a comment', 'twentyfifteen' ), __( '1 Comment', 'twentyfifteen' ), __( '% Comments', 'twentyfifteen' ) );
+               /* translators: %s: post title */
+               comments_popup_link( sprintf( __( 'Leave a comment<span class="screen-reader-text"> on %s</span>', 'twentyfifteen' ), get_the_title() ) );
                echo '</span>';
        }
 }