From 2827fd2a64482065cdd5454cc5f9493b83c2bb39 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 11 Dec 2014 10:37:23 +0000 Subject: [PATCH] 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 --- wp-content/themes/twentyfifteen/archive.php | 2 +- wp-content/themes/twentyfifteen/index.php | 2 +- wp-content/themes/twentyfifteen/search.php | 2 +- wp-includes/version.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-content/themes/twentyfifteen/archive.php b/wp-content/themes/twentyfifteen/archive.php index 8fe0e41e7b..bb6021e3cb 100644 --- a/wp-content/themes/twentyfifteen/archive.php +++ b/wp-content/themes/twentyfifteen/archive.php @@ -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' => '' . __( 'Page', 'twentyfifteen' ) . ' ', diff --git a/wp-content/themes/twentyfifteen/index.php b/wp-content/themes/twentyfifteen/index.php index 2f98a1c325..db77651ebf 100644 --- a/wp-content/themes/twentyfifteen/index.php +++ b/wp-content/themes/twentyfifteen/index.php @@ -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' => '' . __( 'Page', 'twentyfifteen' ) . ' ', diff --git a/wp-content/themes/twentyfifteen/search.php b/wp-content/themes/twentyfifteen/search.php index 647a45e01d..5954360f3f 100644 --- a/wp-content/themes/twentyfifteen/search.php +++ b/wp-content/themes/twentyfifteen/search.php @@ -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' => '' . __( 'Page', 'twentyfifteen' ) . ' ', diff --git a/wp-includes/version.php b/wp-includes/version.php index f94864aaf2..d0c7cd0a8b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.