[buddypress-trac] [BuddyPress] #967: unnecessary extra query caused by bp_dtheme_show_home_blog

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Fri Sep 4 16:50:17 UTC 2009


#967: unnecessary extra query caused by bp_dtheme_show_home_blog
------------------------------+---------------------------------------------
Reporter:  junsuijin          |       Owner:  junsuijin
    Type:  defect             |      Status:  new      
Priority:  minor              |   Milestone:  1.1      
Keywords:  has-patch, tested  |  
------------------------------+---------------------------------------------
 I just tested this in trunk rev 1786 and the provided patch will still
 reduce the total query count by 1. The query that is eliminated is the one
 that gets the posts to populate the $wp global. This query is extraneous
 as bp_dtheme_show_home_blog makes its own query to get the posts.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/967>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list