[wp-trac] [WordPress Trac] #26744: Twenty Fourteen: reduce the number of queries when there is no featured post
WordPress Trac
noreply at wordpress.org
Sun Dec 29 17:43:56 UTC 2013
#26744: Twenty Fourteen: reduce the number of queries when there is no featured
post
---------------------------+-----------------------------
Reporter: Chouby | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 3.8
Severity: normal | Keywords:
---------------------------+-----------------------------
Thanks to the transient used by Feature_Content::get_featured_post_ids,
the featured post ids are not queried at each page load. The transient is
however never set if there is no featured post resulting in performance
loss.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/26744>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list