Changeset 4775 for trunk/bp-forums/bp-forums-bbpress-sa.php
- Timestamp:
- 07/22/2011 07:32:48 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/bp-forums/bp-forums-bbpress-sa.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-forums/bp-forums-bbpress-sa.php
r4602 r4775 17 17 define( 'BB_INC', 'bb-includes/' ); 18 18 19 require _once( BB_PATH . BB_INC . 'class.bb-query.php' );20 require _once( BB_PATH . BB_INC . 'class.bb-walker.php' );21 22 require _once( BB_PATH . BB_INC . 'functions.bb-core.php' );23 require _once( BB_PATH . BB_INC . 'functions.bb-forums.php' );24 require _once( BB_PATH . BB_INC . 'functions.bb-topics.php' );25 require _once( BB_PATH . BB_INC . 'functions.bb-posts.php' );26 require _once( BB_PATH . BB_INC . 'functions.bb-topic-tags.php' );27 require _once( BB_PATH . BB_INC . 'functions.bb-capabilities.php' );28 require _once( BB_PATH . BB_INC . 'functions.bb-meta.php' );29 require _once( BB_PATH . BB_INC . 'functions.bb-pluggable.php' );30 require _once( BB_PATH . BB_INC . 'functions.bb-formatting.php' );31 require _once( BB_PATH . BB_INC . 'functions.bb-template.php' );32 33 require _once( BACKPRESS_PATH . 'class.wp-taxonomy.php' );34 require _once( BB_PATH . BB_INC . 'class.bb-taxonomy.php' );35 36 require _once( BB_PATH . 'bb-admin/includes/functions.bb-admin.php' );19 require( BB_PATH . BB_INC . 'class.bb-query.php' ); 20 require( BB_PATH . BB_INC . 'class.bb-walker.php' ); 21 22 require( BB_PATH . BB_INC . 'functions.bb-core.php' ); 23 require( BB_PATH . BB_INC . 'functions.bb-forums.php' ); 24 require( BB_PATH . BB_INC . 'functions.bb-topics.php' ); 25 require( BB_PATH . BB_INC . 'functions.bb-posts.php' ); 26 require( BB_PATH . BB_INC . 'functions.bb-topic-tags.php' ); 27 require( BB_PATH . BB_INC . 'functions.bb-capabilities.php' ); 28 require( BB_PATH . BB_INC . 'functions.bb-meta.php' ); 29 require( BB_PATH . BB_INC . 'functions.bb-pluggable.php' ); 30 require( BB_PATH . BB_INC . 'functions.bb-formatting.php' ); 31 require( BB_PATH . BB_INC . 'functions.bb-template.php' ); 32 33 require( BACKPRESS_PATH . 'class.wp-taxonomy.php' ); 34 require( BB_PATH . BB_INC . 'class.bb-taxonomy.php' ); 35 36 require( BB_PATH . 'bb-admin/includes/functions.bb-admin.php' ); 37 37 38 38 $bb = new stdClass(); 39 require _once( $bp->forums->bbconfig );39 require( $bp->forums->bbconfig ); 40 40 41 41 // Setup the global database connection … … 88 88 // Check if the tables are installed, if not, install them 89 89 if ( !$tables_installed = (boolean) $bbdb->get_results( 'DESCRIBE `' . $bbdb->forums . '`;', ARRAY_A ) ) { 90 require _once( BB_PATH . 'bb-admin/includes/defaults.bb-schema.php' );90 require( BB_PATH . 'bb-admin/includes/defaults.bb-schema.php' ); 91 91 92 92 // Backticks and "IF NOT EXISTS" break the dbDelta function. 93 93 bp_bb_dbDelta( str_replace( ' IF NOT EXISTS', '', str_replace( '`', '', $bb_queries ) ) ); 94 94 95 require _once( BB_PATH . 'bb-admin/includes/functions.bb-upgrade.php' );95 require( BB_PATH . 'bb-admin/includes/functions.bb-upgrade.php' ); 96 96 bb_update_db_version(); 97 97 … … 145 145 146 146 $args = func_get_args(); 147 $args = call_user_func_array( array( &$this, ' _init' ), $args );147 $args = call_user_func_array( array( &$this, 'init' ), $args ); 148 148 149 149 if ( $args['host'] ) … … 169 169 * Based on, and taken from, the BackPress class in turn taken from the 1.0 branch of bbPress. 170 170 */ 171 function _init( $args ) 172 { 171 function init( $args ) { 173 172 if ( 4 == func_num_args() ) { 174 173 $args = array(
Note: See TracChangeset
for help on using the changeset viewer.