Opened 11 years ago
Closed 11 years ago
#28928 closed defect (bug) (fixed)
Twenty Fourteen: get_sticky_posts() doesn't uses $settings in inc/featured-content.php
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | 3.9 |
Component: | Bundled Theme | Keywords: | has-patch commit |
Focuses: | template | Cc: |
Description
The $settings variable isn't used.
/** * Return an array with IDs of posts maked as sticky. * * @static * @access public * @since Twenty Fourteen 1.0 * * @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 ); }
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Unused since [27120].