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
This commit is contained in:
Sergey Biryukov 2015-01-07 23:07:22 +00:00
parent 00ff6675a2
commit 3dcd0e2119
2 changed files with 3 additions and 3 deletions

View File

@ -2312,8 +2312,8 @@ function get_the_posts_pagination( $args = array() ) {
if ( $GLOBALS['wp_query']->max_num_pages > 1 ) { if ( $GLOBALS['wp_query']->max_num_pages > 1 ) {
$args = wp_parse_args( $args, array( $args = wp_parse_args( $args, array(
'mid_size' => 1, 'mid_size' => 1,
'prev_text' => __( 'Previous' ), 'prev_text' => _x( 'Previous', 'previous post' ),
'next_text' => __( 'Next' ), 'next_text' => _x( 'Next', 'next post' ),
'screen_reader_text' => __( 'Posts navigation' ), 'screen_reader_text' => __( 'Posts navigation' ),
) ); ) );

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.