From 904f70c8e17013908760b3b964fbc2d7995590b1 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 11 Dec 2014 10:24:21 +0000 Subject: [PATCH] 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 --- wp-content/themes/twentyfifteen/archive.php | 2 +- wp-content/themes/twentyfifteen/index.php | 2 +- wp-content/themes/twentyfifteen/search.php | 2 +- 3 files changed, 3 insertions(+), 3 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' ) . ' ',