From a7c2f89982154a68f4d65a617fc5d5c2dc109cd8 Mon Sep 17 00:00:00 2001 From: Konstantin Obenland Date: Wed, 7 Jan 2015 09:35:26 -0800 Subject: [PATCH] Merge branch 'pr/667' Fixes #667. Props @gatespace. --- archive.php | 2 +- inc/template-tags.php | 26 +++++---- index.php | 2 +- languages/_s.pot | 93 +++++++++++++----------------- sass/modules/_infinite-scroll.scss | 2 +- sass/navigation/_menus.scss | 6 +- search.php | 2 +- single.php | 2 +- style.css | 8 +-- 9 files changed, 68 insertions(+), 75 deletions(-) diff --git a/archive.php b/archive.php index 3d0efcc9..b0a1971b 100644 --- a/archive.php +++ b/archive.php @@ -34,7 +34,7 @@ get_header(); ?> - + diff --git a/inc/template-tags.php b/inc/template-tags.php index ebeaca6b..2dd9175b 100644 --- a/inc/template-tags.php +++ b/inc/template-tags.php @@ -7,26 +7,28 @@ * @package _s */ -if ( ! function_exists( '_s_paging_nav' ) ) : +if ( ! function_exists( 'the_posts_navigation' ) ) : /** * Display navigation to next/previous set of posts when applicable. + * + * @todo Remove this function when WordPress 4.3 is released. */ -function _s_paging_nav() { +function the_posts_navigation() { // Don't print empty markup if there's only one page. if ( $GLOBALS['wp_query']->max_num_pages < 2 ) { return; } ?> -