[wp-trac] [WordPress Trac] #26744: Twenty Fourteen: reduce the number of queries when there is no featured post

WordPress Trac noreply at wordpress.org
Mon Jul 14 20:16:00 UTC 2014


#26744: Twenty Fourteen: reduce the number of queries when there is no featured
post
-------------------------------------+------------------
 Reporter:  Chouby                   |       Owner:
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  4.0
Component:  Bundled Theme            |     Version:  3.8
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------
Changes (by lancewillett):

 * keywords:  has-patch needs-testing needs-refresh => has-patch needs-
               testing


Comment:

 Saw a problem in testing: {{{$featured = get_posts( array() );}}} the
 variable assignment here should be {{{$featured_ids}}} instead, right?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/26744#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list