Changeset 4596 for trunk/bp-core/bp-core-filters.php
- Timestamp:
- 07/04/2011 02:07:08 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-filters.php
r4536 r4596 19 19 $pages[] = $bp->pages->register->id; 20 20 21 if ( !bp_is_active( 'forums' ) || ( bp_is_active( 'forums' ) && !bp_forums_is_installed_correctly() ) ) 22 if ( !empty( $bp->pages->forums ) ) 23 $pages[] = $bp->pages->forums->id; 21 if ( !bp_is_active( 'forums' ) || ( bp_is_active( 'forums' ) && bp_forums_has_directory() && !bp_forums_is_installed_correctly() ) ) 22 $pages[] = $bp->pages->forums->id; 24 23 25 24 return apply_filters( 'bp_core_exclude_pages', $pages );
Note: See TracChangeset
for help on using the changeset viewer.