[buddypress-trac] [BuddyPress] #4908: Avoid switch_to_blog in bp_core_fetch_avatar

buddypress-trac noreply at wordpress.org
Tue Apr 2 21:07:07 UTC 2013


#4908: Avoid switch_to_blog in bp_core_fetch_avatar
--------------------------+---------------------
 Reporter:  wpdennis      |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  high          |   Milestone:  1.7
Component:  Core          |     Version:  1.7
 Severity:  normal        |  Resolution:  fixed
 Keywords:  dev-feedback  |
--------------------------+---------------------

Comment (by boonebgorges):

 (In [6884]) Introduces BP_SHOW_AVATARS constant

 This constant allows admins of advanced MS setups to avoid a potentially
 costly call to bp_get_option( 'show_avatar' )

 Fixes #4908

 Props wpdennis

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4908#comment:5>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list