[buddypress-trac] [BuddyPress Trac] #6395: is_single_item not set for single member profiles

buddypress-trac noreply at wordpress.org
Tue Apr 28 18:13:17 UTC 2015


#6395: is_single_item not set for single member profiles
---------------------------------+---------------------------------------
 Reporter:  johnjamesjacoby      |      Owner:
     Type:  defect (bug)         |     Status:  new
 Priority:  normal               |  Milestone:  2.4
Component:  Component - Members  |    Version:
 Severity:  normal               |   Keywords:  needs-patch needs-testing
---------------------------------+---------------------------------------
 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.)''

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6395>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list