Changeset 7213 for trunk/bp-core/admin/bp-core-functions.php
- Timestamp:
- 06/13/2013 01:33:36 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-functions.php
r6845 r7213 366 366 ); 367 367 368 // If forums component is active, add additional tab 369 if ( bp_is_active( 'forums' ) && class_exists( 'BP_Forums_Component' ) ) { 370 // enqueue thickbox 371 wp_enqueue_script( 'thickbox' ); 372 wp_enqueue_style( 'thickbox' ); 373 374 $tabs['3'] = array( 375 'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'bb-forums-setup' ), 'admin.php' ) ), 376 'name' => __( 'Forums', 'buddypress' ) 377 ); 378 } 379 368 380 // Loop through tabs and build navigation 369 381 foreach ( array_values( $tabs ) as $tab_data ) {
Note: See TracChangeset
for help on using the changeset viewer.