Changeset 869 for trunk/bp-forums/bp-forums-admin.php
- Timestamp:
- 01/19/2009 04:56:14 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-admin.php
r827 r869 5 5 if ( is_site_admin() ) { 6 6 /* Add the administration tab under the "Site Admin" tab for site administrators */ 7 add_submenu_page( 'wpmu-admin.php', __( ' Group Forums', 'buddypress' ), __( 'GroupForums', 'buddypress' ), 1, "bp_forums_settings", "bp_forums_bbpress_admin" );7 add_submenu_page( 'wpmu-admin.php', __( 'bbPress Forums', 'buddypress' ), __( 'bbPress Forums', 'buddypress' ), 1, "bp_forums_settings", "bp_forums_bbpress_admin" ); 8 8 } 9 9 } … … 12 12 function bp_forums_bbpress_admin() { 13 13 global $bp, $bbpress_live; 14 15 if ( !is_object( $bbpress_live ) ) { 16 include_once( ABSPATH . WPINC . '/class-IXR.php' ); 17 $bbpress_live = new bbPress_Live(); 18 } 14 19 15 20 if ( isset( $_POST['submit'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.