Skip to:
Content

BuddyPress.org

Opened 4 years ago

Last modified 3 years ago

#6395 new defect (bug)

is_single_item not set for single member profiles

Reported by: johnjamesjacoby 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)

#1 @DJPaul
4 years ago

  • Component changed from Component - Members to API - Rewrite Rules
  • Milestone changed from 2.4 to 2.5

#2 @DJPaul
4 years ago

  • Milestone changed from 2.5 to 2.6

#3 @DJPaul
3 years ago

  • Milestone changed from 2.6 to Future Release
Note: See TracTickets for help on using tickets.