Skip to:
Content

BuddyPress.org

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.)

Change History (3)

#1 @DJPaul
11 years ago

  • Component Component - MembersAPI - Rewrite Rules
  • Milestone 2.42.5

#2 @DJPaul
11 years ago

  • Milestone 2.52.6

#3 @DJPaul
10 years ago

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