mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-15 07:05:37 +01:00
Switch to (get_)the_posts_pagination()
in Twenty Fifteen.
Merges [30824] to the 4.1 branch. See #29808 Props obenland Built from https://develop.svn.wordpress.org/branches/4.1@30826 git-svn-id: http://core.svn.wordpress.org/branches/4.1@30816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e2ad21e041
commit
2827fd2a64
@ -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>',
|
||||
|
@ -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>',
|
||||
|
@ -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>',
|
||||
|
@ -4,7 +4,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.1-beta2-30825';
|
||||
$wp_version = '4.1-beta2-30826';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user