Changeset 6137
- Timestamp:
- 06/24/2012 08:50:07 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/admin/bp-core-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-functions.php
r6108 r6137 289 289 $orphaned_components[] = $component['name']; 290 290 } 291 } 292 293 // Special case: If the Forums component is orphaned, but the bbPress 1.x installation is 294 // not correctly set up, don't show a nag. (In these cases, it's probably the case that the 295 // user is using bbPress 2.x; see https://buddypress.trac.wordpress.org/ticket/4292 296 if ( isset( $bp->forums->name ) && in_array( $bp->forums->name, $orphaned_components ) && !bp_forums_is_installed_correctly() ) { 297 $forum_key = array_search( $bp->forums->name, $orphaned_components ); 298 unset( $orphaned_components[$forum_key] ); 299 $orphaned_components = array_values( $orphaned_components ); 291 300 } 292 301
Note: See TracChangeset
for help on using the changeset viewer.