WordPress.org

Make WordPress Core

Changeset 31082


Ignore:
Timestamp:
01/08/2015 05:56:59 AM (7 years ago)
Author:
jorbin
Message:

Add context for 'Previous' and 'Next' strings in get_the_posts_pagination().

merges [31071] to 4.1 branch

props SergeyBiryukov
fixes #30762 for trunk.

Location:
branches/4.1
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.1

  • branches/4.1/src/wp-includes/link-template.php

    r30825 r31082  
    23112311        $args = wp_parse_args( $args, array(
    23122312            'mid_size'           => 1,
    2313             'prev_text'          => __( 'Previous' ),
    2314             'next_text'          => __( 'Next' ),
     2313            'prev_text'          => _x( 'Previous', 'previous post' ),
     2314            'next_text'          => _x( 'Next', 'next post' ),
    23152315            'screen_reader_text' => __( 'Posts navigation' ),
    23162316        ) );
Note: See TracChangeset for help on using the changeset viewer.