From 750c310565b15f025321407f8fe1c9dfa713e9cc Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 17 Jul 2014 19:08:05 +0000 Subject: [PATCH] Twenty Fourteen: Remove unused variable after [27120]. props michalzuber. fixes #28928. git-svn-id: https://develop.svn.wordpress.org/trunk@29210 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfourteen/inc/featured-content.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wp-content/themes/twentyfourteen/inc/featured-content.php b/src/wp-content/themes/twentyfourteen/inc/featured-content.php index a6516bd904..ccff4cace4 100644 --- a/src/wp-content/themes/twentyfourteen/inc/featured-content.php +++ b/src/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 ); }