Changeset 1718 for trunk/bp-forums.php
- Timestamp:
- 08/27/2009 09:18:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums.php
r1705 r1718 3 3 /* Define the parent forum ID */ 4 4 if ( !defined( 'BP_FORUMS_PARENT_FORUM_ID' ) ) 5 define ( 'BP_FORUMS_PARENT_FORUM_ID', 1 ); 5 define( 'BP_FORUMS_PARENT_FORUM_ID', 1 ); 6 7 if ( !defined( 'BP_FORUMS_SLUG' ) ) 8 define( 'BP_FORUMS_SLUG', 'forums' ); 6 9 7 10 require ( BP_PLUGIN_DIR . '/bp-forums/bp-forums-bbpress.php' ); … … 18 21 $bp->forums->image_base = BP_PLUGIN_URL . '/bp-forums/images'; 19 22 $bp->forums->bbconfig = get_site_option( 'bb-config-location' ); 23 $bp->forums->slug = BP_FORUMS_SLUG; 24 25 /* Register this in the active components array */ 26 $bp->active_components[$bp->forums->slug] = $bp->forums->id; 20 27 } 21 28 add_action( 'plugins_loaded', 'bp_forums_setup', 5 );
Note: See TracChangeset
for help on using the changeset viewer.