#3994 closed enhancement (duplicate)
Use functions instead of $bp global when referencing user data
| Reported by: | johnjamesjacoby | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.6 |
| Component: | Core | Version: | 1.5.3 |
| Severity: | minor | Keywords: | |
| Cc: |
Description
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.
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [5704]) Replace direct references to $bp user domains with their functional equivalents. See #3994.