[buddypress-trac] [BuddyPress] #3994: Use functions instead of $bp global when referencing user data

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Feb 11 02:43:54 UTC 2012


#3994: Use functions instead of $bp global when referencing user data
-----------------------------+-------------------
 Reporter:  johnjamesjacoby  |      Owner:
     Type:  task             |     Status:  new
 Priority:  normal           |  Milestone:  1.6
Component:  Core             |    Version:  1.5.3
 Severity:  minor            |   Keywords:
-----------------------------+-------------------
 We still directly reference $bp->loggedin_user->domain and
 $bp->displayed_user->domain in many places, when we should be using
 bp_loggedin_user_domain() and bp_displayed_user_domain(), respectively.

 Same goes for many of the other userdata related references.

 These should be switched over to their functions.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3994>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list