Skip to:
Content

BuddyPress.org

Changeset 1960 for trunk/bp-forums.php


Ignore:
Timestamp:
09/26/2009 07:28:06 AM (16 years ago)
Author:
apeatling
Message:

Updated admin menu/submenu syntax. Props markjaquith.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums.php

    r1936 r1960  
    7575   
    7676    /* Add the administration tab under the "Site Admin" tab for site administrators */
    77     add_submenu_page( 'bp-core.php', __( 'Forums Setup', 'buddypress' ), __( 'Forums Setup', 'buddypress' ), 2, __FILE__, "bp_forums_bbpress_admin" );
     77    add_submenu_page( 'bp-general-settings', __( 'Forums Setup', 'buddypress' ), __( 'Forums Setup', 'buddypress' ), 'manage_options', 'bb-forums-setup', "bp_forums_bbpress_admin" );
    7878}
    7979add_action( 'admin_menu', 'bp_forums_add_admin_menu' );
Note: See TracChangeset for help on using the changeset viewer.