From dcff4776323187f224485161b599fd7b20c8bfd7 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 11 Dec 2014 10:23:40 +0000 Subject: [PATCH] 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 --- src/wp-content/themes/twentyfifteen/archive.php | 2 +- src/wp-content/themes/twentyfifteen/index.php | 2 +- src/wp-content/themes/twentyfifteen/search.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-content/themes/twentyfifteen/archive.php b/src/wp-content/themes/twentyfifteen/archive.php index 8fe0e41e7b..bb6021e3cb 100644 --- a/src/wp-content/themes/twentyfifteen/archive.php +++ b/src/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/src/wp-content/themes/twentyfifteen/index.php b/src/wp-content/themes/twentyfifteen/index.php index 2f98a1c325..db77651ebf 100644 --- a/src/wp-content/themes/twentyfifteen/index.php +++ b/src/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/src/wp-content/themes/twentyfifteen/search.php b/src/wp-content/themes/twentyfifteen/search.php index 647a45e01d..5954360f3f 100644 --- a/src/wp-content/themes/twentyfifteen/search.php +++ b/src/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' ) . ' ',