Changeset 3329 for branches/plugin/bbpress.php
- Timestamp:
- 06/16/2011 11:37:15 PM (14 years ago)
- File:
-
- 1 edited
-
branches/plugin/bbpress.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbpress.php
r3328 r3329 319 319 320 320 // Themes 321 $this->themes_dir = WP_PLUGIN_DIR . '/' . basename( dirname( __FILE__ ) ) . '/bbp-themes';321 $this->themes_dir = $this->plugin_dir . 'bbp-themes'; 322 322 $this->themes_url = $this->plugin_url . 'bbp-themes'; 323 323 … … 409 409 // Load the files 410 410 foreach ( $core as $file ) 411 require( $this->plugin_dir . ' /bbp-includes/bbp-core-' . $file . '.php' );411 require( $this->plugin_dir . 'bbp-includes/bbp-core-' . $file . '.php' ); 412 412 413 413 /** Components ********************************************************/ … … 429 429 foreach ( $components as $component ) 430 430 foreach ( $files as $type ) 431 require( $this->plugin_dir . ' /bbp-includes/bbp-' . $component . '-' . $type . '.php' );431 require( $this->plugin_dir . 'bbp-includes/bbp-' . $component . '-' . $type . '.php' ); 432 432 433 433 /** Admin *************************************************************/ … … 435 435 // Quick admin check and load if needed 436 436 if ( is_admin() ) 437 require( $this->plugin_dir . ' /bbp-admin/bbp-admin.php' );437 require( $this->plugin_dir . 'bbp-admin/bbp-admin.php' ); 438 438 } 439 439
Note: See TracChangeset
for help on using the changeset viewer.