From 57de96256505cc2d05b26206c28e4fe03e2a1852 Mon Sep 17 00:00:00 2001 From: Cameron Campbell Date: Thu, 2 Jul 2015 09:20:39 -0400 Subject: [PATCH 1/3] Changed function name the_posts_navigation() the_posts_navigation() is now part of WordPress so updating this function won't change pagination/post navigation output. Changed name to posts_navigation() to fix this (leaving off 'the'). --- inc/template-tags.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/template-tags.php b/inc/template-tags.php index fc44b5919..438958f1d 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -7,13 +7,13 @@ * @package _s */ -if ( ! function_exists( 'the_posts_navigation' ) ) : +if ( ! function_exists( 'posts_navigation' ) ) : /** * Display navigation to next/previous set of posts when applicable. * * @todo Remove this function when WordPress 4.3 is released. */ -function the_posts_navigation() { +function posts_navigation() { // Don't print empty markup if there's only one page. if ( $GLOBALS['wp_query']->max_num_pages < 2 ) { return; @@ -299,4 +299,4 @@ function _s_do_social_icons() { ?> - Date: Thu, 2 Jul 2015 09:22:40 -0400 Subject: [PATCH 2/3] Changed function name call Changed to reflect updated function name which leaves off 'the'. --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index 7f65c8725..6fc2b0474 100644 --- a/index.php +++ b/index.php @@ -33,7 +33,7 @@ - + From 917e57638276e2483b294c56554ba26c86888fe0 Mon Sep 17 00:00:00 2001 From: Cameron Campbell Date: Thu, 2 Jul 2015 09:23:24 -0400 Subject: [PATCH 3/3] Changed function name call Changed to reflect updated function name which leaves off 'the'. --- archive.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archive.php b/archive.php index 48ae9217d..e623c5676 100644 --- a/archive.php +++ b/archive.php @@ -36,7 +36,7 @@ - +