Opened 11 years ago
Last modified 10 years ago
#6395 new defect (bug)
is_single_item not set for single member profiles
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Awaiting Contributions | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Route Parser | 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.)
Change History (3)
Note: See
TracTickets for help on using
tickets.