Changeset 7756 for trunk/bp-forums/bp-forums-bbpress-sa.php
- Timestamp:
- 01/24/2014 11:48:48 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/bp-forums/bp-forums-bbpress-sa.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-bbpress-sa.php
r7468 r7756 16 16 */ 17 17 function bp_forums_load_bbpress() { 18 global $ bp, $wpdb, $wp_roles, $current_user, $wp_users_object;18 global $wpdb, $wp_roles, $current_user, $wp_users_object; 19 19 global $bb, $bbdb, $bb_table_prefix, $bb_current_user; 20 20 global $bb_roles, $wp_taxonomy_object, $bb_queries; 21 21 22 22 // Return if we've already run this function. 23 23 if ( is_object( $bbdb ) ) … … 27 27 return false; 28 28 29 define( 'BB_PATH', BP_PLUGIN_DIR . '/bp-forums/bbpress/' ); 30 define( 'BACKPRESS_PATH', BP_PLUGIN_DIR . '/bp-forums/bbpress/bb-includes/backpress/' ); 31 define( 'BB_URL', BP_PLUGIN_URL . 'bp-forums/bbpress/' ); 29 $bp = buddypress(); 30 31 define( 'BB_PATH', $bp->plugin_dir . '/bp-forums/bbpress/' ); 32 define( 'BACKPRESS_PATH', $bp->plugin_dir . '/bp-forums/bbpress/bb-includes/backpress/' ); 33 define( 'BB_URL', $bp->plugin_url . 'bp-forums/bbpress/' ); 32 34 define( 'BB_INC', 'bb-includes/' ); 33 35
Note: See TracChangeset
for help on using the changeset viewer.