[buddypress-trac] [BuddyPress Trac] #5398: Review metadata caching across components

buddypress-trac noreply at wordpress.org
Mon Feb 17 19:54:33 UTC 2014


#5398: Review metadata caching across components
--------------------------+---------------------------
 Reporter:  boonebgorges  |       Owner:  boonebgorges
     Type:  task          |      Status:  assigned
 Priority:  normal        |   Milestone:  2.0
Component:  Core          |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+---------------------------

Comment (by boonebgorges):

 In [changeset:"7915"]:
 {{{
 #!CommitTicketReference repository="" revision="7915"
 Don't use fetch_default_visibility_levels() method in bp_has_profile()
 loop

 There's no need to do this custom pre-fetching of visibility levels within
 the bp_has_profile() loop, because the values are already loaded into the
 cache
 by bp_xprofile_update_meta_cache(). So we use bp_xprofile_get_meta()
 instead.

 See #5398
 }}}

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


More information about the buddypress-trac mailing list