From 3dcd0e2119848100da7a7f5430f81d30112c87a4 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 7 Jan 2015 23:07:22 +0000 Subject: [PATCH] Add context for 'Previous' and 'Next' strings in get_the_posts_pagination(). fixes #30762 for trunk. Built from https://develop.svn.wordpress.org/trunk@31071 git-svn-id: http://core.svn.wordpress.org/trunk@31052 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/link-template.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index 83d0c533c7..e68c0aacbd 100644 --- a/wp-includes/link-template.php +++ b/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' ), ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 07c5836780..4a3ebb63ea 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31070'; +$wp_version = '4.2-alpha-31071'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.