[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:35:47 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:
-------------------------------------+------------------

Comment (by lancewillett):

 This is my testing results with the updated patch:

 With no featured posts:
 34 queries on first load, down to 26 queries on second load

 With featured posts:
 43 queries on first load down to 35 on second load

 (Using Debug Bar plugin with {{{define( 'SAVEQUERIES', true );}}} in my
 wp-config.php file.

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


More information about the wp-trac mailing list