From d4e2ce57970aeba549c9f66866a06aeb7182aca3 Mon Sep 17 00:00:00 2001 From: Ben Keith Date: Mon, 24 Oct 2016 09:58:54 -0400 Subject: [PATCH] Removed unused query in homepages.php --- homepages/homepage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homepages/homepage.php b/homepages/homepage.php index d496619be..10cbdc558 100644 --- a/homepages/homepage.php +++ b/homepages/homepage.php @@ -152,7 +152,6 @@ function largo_home_single_top() { function largo_home_featured_stories($max = 3) { $big_story = largo_home_single_top(); $homepage_feature_term = get_term_by( 'name', __('Homepage Featured', 'largo'), 'prominence' ); - $uncategorized_term = get_term_by( 'name', __('Uncategorized'), 'category' ); // Get the homepage featured posts $featured_stories = get_posts(array( @@ -175,6 +174,7 @@ function largo_home_featured_stories($max = 3) { * 2. Gets the term that the 3 series stories belong to. * * @return array An array with `series_stories` and `series_stories_term` keys. + * @todo is this duplicating the functionality of the Largo_Related class? */ function largo_home_series_stories_data() { $big_story = largo_home_single_top();