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
This commit is contained in:
parent
3fdc11be29
commit
22c9a89602
@ -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' ),
|
||||
) );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user