WordPress.org

Make WordPress Core

Changeset 30824


Ignore:
Timestamp:
12/11/2014 10:23:40 AM (5 years ago)
Author:
johnbillion
Message:

Switch to (get_)the_posts_pagination() in Twenty Fifteen.

See #29808
Props obenland

Location:
trunk/src/wp-content/themes/twentyfifteen
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfifteen/archive.php

    r30572 r30824  
    4646
    4747            // Previous/next page navigation.
    48             the_pagination( array(
     48            the_posts_pagination( array(
    4949                'prev_text'          => __( 'Previous page', 'twentyfifteen' ),
    5050                'next_text'          => __( 'Next page', 'twentyfifteen' ),
  • trunk/src/wp-content/themes/twentyfifteen/index.php

    r30394 r30824  
    4343
    4444            // Previous/next page navigation.
    45             the_pagination( array(
     45            the_posts_pagination( array(
    4646                'prev_text'          => __( 'Previous page', 'twentyfifteen' ),
    4747                'next_text'          => __( 'Next page', 'twentyfifteen' ),
  • trunk/src/wp-content/themes/twentyfifteen/search.php

    r30806 r30824  
    3535
    3636            // Previous/next page navigation.
    37             the_pagination( array(
     37            the_posts_pagination( array(
    3838                'prev_text'          => __( 'Previous page', 'twentyfifteen' ),
    3939                'next_text'          => __( 'Next page', 'twentyfifteen' ),
Note: See TracChangeset for help on using the changeset viewer.