From 22c9a896022f312defc67112c437ed69a19b5ea6 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 7 Jan 2015 23:06:20 +0000 Subject: [PATCH] Add context for 'Previous' and 'Next' strings in get_the_posts_pagination(). fixes #30762 for trunk. git-svn-id: https://develop.svn.wordpress.org/trunk@31071 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/link-template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/link-template.php b/src/wp-includes/link-template.php index 83d0c533c7..e68c0aacbd 100644 --- a/src/wp-includes/link-template.php +++ b/src/wp-includes/link-template.php @@ -2312,8 +2312,8 @@ function get_the_posts_pagination( $args = array() ) { if ( $GLOBALS['wp_query']->max_num_pages > 1 ) { $args = wp_parse_args( $args, array( 'mid_size' => 1, - 'prev_text' => __( 'Previous' ), - 'next_text' => __( 'Next' ), + 'prev_text' => _x( 'Previous', 'previous post' ), + 'next_text' => _x( 'Next', 'next post' ), 'screen_reader_text' => __( 'Posts navigation' ), ) );