[buddypress-trac] [BuddyPress] #3847: New BuddyPress bp-general-settings menu items have bad links
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Tue Dec 13 01:53:19 UTC 2011
#3847: New BuddyPress bp-general-settings menu items have bad links
--------------------------+------------------------------
Reporter: modemlooper | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version:
Severity: major | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by modemlooper):
{{{
add_submenu_page(
'bp-general-settings.php', //<--this doesn't work
with .php at end **********************
__( 'BuddyPress Share It', 'buddypress' ),
__( 'BuddyPress Share It', 'buddypress' ),
'manage_options',
'bpsi-options',
'bpsi_plugin_options'
);
}}}
removing .php adds the menu item but link is wrong. changing bp-general-
settings to options-general.php adds menu item to settings and link works
fine.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3847#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list