[buddypress-trac] [BuddyPress Trac] #7120: Remove WordPress DB lookups on BuddyPress single pages

buddypress-trac noreply at wordpress.org
Wed Aug 10 11:40:15 UTC 2016


#7120: Remove WordPress DB lookups on BuddyPress single pages
------------------------------------+---------------------
 Reporter:  r-a-y                   |       Owner:  djpaul
     Type:  enhancement             |      Status:  closed
 Priority:  normal                  |   Milestone:  2.7
Component:  Core                    |     Version:
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  has-patch early commit  |
------------------------------------+---------------------
Changes (by djpaul):

 * owner:   => djpaul
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"11007"]:
 {{{
 #!CommitTicketReference repository="" revision="11007"
 Core: prevent DB query for WP's main loop on single item pages.

 As of WordPress 4.6, it is possible to bypass the main `WP_Query`
 entirely.
 This saves us one unnecessary database query.

 Fixes #7120

 Props r-a-y, DJPaul
 }}}

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7120#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list