Make WordPress Core

Changeset 30826


Ignore:
Timestamp:
12/11/2014 10:36:02 AM (10 years ago)
Author:
johnbillion
Message:

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

Merges [30824] to the 4.1 branch.

See #29808
Props obenland

Location:
branches/4.1
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/4.1

  • branches/4.1/src/wp-content/themes/twentyfifteen/archive.php

    r30572 r30826  
    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' ),
  • branches/4.1/src/wp-content/themes/twentyfifteen/index.php

    r30394 r30826  
    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' ),
  • branches/4.1/src/wp-content/themes/twentyfifteen/search.php

    r30814 r30826  
    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.