mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user