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

See #29808
Props obenland


git-svn-id: https://develop.svn.wordpress.org/trunk@30824 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2014-12-11 10:23:40 +00:00
parent 22b5e67b10
commit dcff477632
3 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ get_header(); ?>
endwhile;
// Previous/next page navigation.
the_pagination( array(
the_posts_pagination( array(
'prev_text' => __( 'Previous page', 'twentyfifteen' ),
'next_text' => __( 'Next page', 'twentyfifteen' ),
'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>',

View File

@ -42,7 +42,7 @@ get_header(); ?>
endwhile;
// Previous/next page navigation.
the_pagination( array(
the_posts_pagination( array(
'prev_text' => __( 'Previous page', 'twentyfifteen' ),
'next_text' => __( 'Next page', 'twentyfifteen' ),
'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>',

View File

@ -34,7 +34,7 @@ get_header(); ?>
endwhile;
// Previous/next page navigation.
the_pagination( array(
the_posts_pagination( array(
'prev_text' => __( 'Previous page', 'twentyfifteen' ),
'next_text' => __( 'Next page', 'twentyfifteen' ),
'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyfifteen' ) . ' </span>',