Make WordPress Core


Ignore:
Timestamp:
01/07/2015 11:06:20 PM (10 years ago)
Author:
SergeyBiryukov
Message:

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

fixes #30762 for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/link-template.php

    r31000 r31071  
    23132313        $args = wp_parse_args( $args, array(
    23142314            'mid_size'           => 1,
    2315             'prev_text'          => __( 'Previous' ),
    2316             'next_text'          => __( 'Next' ),
     2315            'prev_text'          => _x( 'Previous', 'previous post' ),
     2316            'next_text'          => _x( 'Next', 'next post' ),
    23172317            'screen_reader_text' => __( 'Posts navigation' ),
    23182318        ) );
Note: See TracChangeset for help on using the changeset viewer.