Opened 11 years ago
Last modified 10 years ago
#6395 new defect (bug)
is_single_item not set for single member profiles
| Reported by: | johnjamesjacoby | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Contributions |
| Component: | Route Parser | Version: | |
| Severity: | normal | Keywords: | needs-patch needs-testing |
| Cc: |
Description
When viewing a single member, buddypress()->is_single_item remains false.
This seems counter-intuitive to the purpose of this variable, which is to help discern the type of content being viewed.
Nothing is broken as a result, but perhaps this could be a useful crutch for bp_is_user() and bp_is_my_profile() instead of relying on bp_displayed_user_id() which works, but maybe isn't as semantically correct.
(Tangentially, this property will likely be less useful if we ever get to implementing rewrite rules.)
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)