diff --git a/bp-loader.php b/bp-loader.php
index 2cbe02c..cacb060 100644
a
|
b
|
class BuddyPress { |
530 | 530 | * @todo Move bp-default to wordpress.org/extend/themes and remove this |
531 | 531 | */ |
532 | 532 | public function register_theme_directory() { |
| 533 | |
| 534 | // Don't register the bundled version of BP-Default if the user already has it. |
| 535 | foreach ( array_values( (array) $GLOBALS['wp_theme_directories'] ) as $directory ) { |
| 536 | if ( is_dir( $directory . '/bp-default' ) ) |
| 537 | return; |
| 538 | } |
| 539 | |
533 | 540 | register_theme_directory( $this->old_themes_dir ); |
534 | 541 | } |
535 | 542 | |