From 2e470c79032fdd80446d6248f5cc743cc28af3b9 Mon Sep 17 00:00:00 2001 From: alexsomeoddpilot Date: Thu, 30 Oct 2014 09:24:33 -0500 Subject: [PATCH] Fixing dead variables and params --- lib/extras.php | 2 +- lib/gallery.php | 1 - lib/nav.php | 2 ++ lib/utils.php | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/extras.php b/lib/extras.php index f4d9810..994ff30 100644 --- a/lib/extras.php +++ b/lib/extras.php @@ -2,7 +2,7 @@ /** * Clean up the_excerpt() */ -function roots_excerpt_more($more) { +function roots_excerpt_more() { return ' … ' . __('Continued', 'roots') . ''; } add_filter('excerpt_more', 'roots_excerpt_more'); diff --git a/lib/gallery.php b/lib/gallery.php index 67f4d01..975a8ed 100644 --- a/lib/gallery.php +++ b/lib/gallery.php @@ -123,7 +123,6 @@ if (current_theme_supports('bootstrap-gallery')) { * Add class="thumbnail img-thumbnail" to attachment items */ function roots_attachment_link_class($html) { - $postid = get_the_ID(); $html = str_replace('