[buddypress-trac] [BuddyPress] #4661: Privileged menu items adding to BP nav for anonymous users
buddypress-trac
noreply at wordpress.org
Tue Nov 13 23:58:02 UTC 2012
#4661: Privileged menu items adding to BP nav for anonymous users
----------------------------+------------------
Reporter: DJPaul | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 1.7
Component: All Components | Version:
Severity: normal | Resolution:
Keywords: |
----------------------------+------------------
Comment (by boonebgorges):
It's an artifact of bp-default templates. There are places in the
templates themselves where we wrap `bp_options_nav()` (the subnav items)
in `if ( bp_is_my_profile() ) {}`. eg
https://buddypress.trac.wordpress.org/browser/tags/1.6.1/bp-themes/bp-
default/members/single/profile.php
We should be moving the `bp_is_my_profile()` logic into the component
classes' `setup_nav()` methods.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4661#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list