From ac1b60c01865a4942a78b77719a3ebb1cb3c9e58 Mon Sep 17 00:00:00 2001 From: Lance Willett Date: Fri, 12 Dec 2014 18:37:22 +0000 Subject: [PATCH] Twenty Fifteen: update archive pagination links to use `aria-hidden` for better accessibility. Props SergeyBiryukov, fixes #30152. Built from https://develop.svn.wordpress.org/trunk@30834 git-svn-id: http://core.svn.wordpress.org/trunk@30824 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyfifteen/single.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/twentyfifteen/single.php b/wp-content/themes/twentyfifteen/single.php index 3094a3b7d5..afbb7b5e4d 100644 --- a/wp-content/themes/twentyfifteen/single.php +++ b/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.