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

See #29808
Props obenland

Built from https://develop.svn.wordpress.org/trunk@30824


git-svn-id: http://core.svn.wordpress.org/trunk@30814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2014-12-11 10:24:21 +00:00
parent d8615f04ac
commit 904f70c8e1
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>',