[buddypress-trac] [BuddyPress] #5039: Profile subnav not displayed

buddypress-trac noreply at wordpress.org
Thu Jun 13 01:14:55 UTC 2013

#5039: Profile subnav not displayed
 Reporter:  r-a-y             |       Owner:  boonebgorges
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  1.8
Component:  Theme             |     Version:  1.2
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
Changes (by boonebgorges):

 * owner:   => boonebgorges
 * status:  new => closed
 * resolution:   => fixed


 In [changeset:"7211"]:
 #!CommitTicketReference repository="" revision="7211"
 Show member Profile subnav for all users, not just when viewing one's own

 The logic for hiding others' Profile subnavs comes from the fact that, as
 rule, the only subnav item available when viewing another person's profile
 View/Public. But this causes problems when plugins or themes try to add
 additional tabs to user Profiles.

 By removing the bp_is_my_profile() check hardcoded in the template, we
 rely on
 the bp_core_new_subnav_item() logic in setup_nav() to do the necessary
 control (which it was already doing).

 Fixes #5039

 Props r-a-y

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5039#comment:5>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list