From b7c94cee0b7bb62032aae17fe4181f5474dae961 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 17 Jul 2014 19:09:14 +0000 Subject: [PATCH] Twenty Fourteen: Remove unused variable after [27120]. props michalzuber. fixes #28928. Built from https://develop.svn.wordpress.org/trunk@29210 git-svn-id: http://core.svn.wordpress.org/trunk@28994 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyfourteen/inc/featured-content.php | 1 - 1 file changed, 1 deletion(-) diff --git a/wp-content/themes/twentyfourteen/inc/featured-content.php b/wp-content/themes/twentyfourteen/inc/featured-content.php index a6516bd904..ccff4cace4 100644 --- a/wp-content/themes/twentyfourteen/inc/featured-content.php +++ b/wp-content/themes/twentyfourteen/inc/featured-content.php @@ -196,7 +196,6 @@ class Featured_Content { * @return array Array of sticky posts. */ public static function get_sticky_posts() { - $settings = self::get_setting(); return array_slice( get_option( 'sticky_posts', array() ), 0, self::$max_posts ); }