Twenty Fifteen: Use default strings for comments link.
Also adds context for screen readers, like in default strings. Props pavelevap for initial patch. Fixes #32001. Built from https://develop.svn.wordpress.org/trunk@33003 git-svn-id: http://core.svn.wordpress.org/trunk@32974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e41b7b4f75
commit
f051c59433
|
@ -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>' ), get_the_title() ) );
|
||||
echo '</span>';
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-alpha-33002';
|
||||
$wp_version = '4.3-alpha-33003';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue