From dc0e4af5badfa60642c7f4157144c5f756f1e685 Mon Sep 17 00:00:00 2001 From: lancewillett Date: Fri, 12 Dec 2014 18:36:02 +0000 Subject: [PATCH] Twenty Fifteen: update archive pagination links to use `aria-hidden` for better accessibility. Props SergeyBiryukov, fixes #30152. git-svn-id: https://develop.svn.wordpress.org/trunk@30834 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfifteen/single.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentyfifteen/single.php b/src/wp-content/themes/twentyfifteen/single.php index 3094a3b7d5..afbb7b5e4d 100644 --- a/src/wp-content/themes/twentyfifteen/single.php +++ b/src/wp-content/themes/twentyfifteen/single.php @@ -30,8 +30,12 @@ get_header(); ?> // Previous/next post navigation. the_post_navigation( array( - 'next_text' => _x( 'Next post: %title', 'Next post link', 'twentyfifteen' ), - 'prev_text' => _x( 'Previous post: %title', 'Previous post link', 'twentyfifteen' ) + 'next_text' => ' ' . + '' . __( 'Next post:', 'twentyfifteen' ) . ' ' . + '%title', + 'prev_text' => ' ' . + '' . __( 'Previous post:', 'twentyfifteen' ) . ' ' . + '%title', ) ); // End the loop.