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

WordPress Trac noreply at wordpress.org
Wed Jun 4 21:12:21 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 needs-refresh  |     Focuses:
---------------------------------------------------+------------------

Comment (by ryanshoover):

 @obenland's patch works great for me.
 No featured posts:
 26 queries dropped to 24 queries with the patch

 1 featured post:
 54 queries dropped to 29 queries

 Minor gain when there are no featured posts, significant gain with
 featured posts.

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


More information about the wp-trac mailing list