mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 15:17:42 +02:00
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
This commit is contained in:
parent
fa02568c42
commit
b7c94cee0b
@ -196,7 +196,6 @@ class Featured_Content {
|
|||||||
* @return array Array of sticky posts.
|
* @return array Array of sticky posts.
|
||||||
*/
|
*/
|
||||||
public static function get_sticky_posts() {
|
public static function get_sticky_posts() {
|
||||||
$settings = self::get_setting();
|
|
||||||
return array_slice( get_option( 'sticky_posts', array() ), 0, self::$max_posts );
|
return array_slice( get_option( 'sticky_posts', array() ), 0, self::$max_posts );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user