Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/01/2013 09:34:55 PM (11 years ago)
Author:
boonebgorges
Message:

Enables theme compat for legacy bbPress 1.x forum content

  • Don't exclude top-level forum directory page from wp_nav_menu() as long as forums are correctly installed
  • Introduces BP_Forums_Legacy_Theme_Compat
  • Tweaks forum directory table styling

Fixes #4854

Props imath

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-filters.php

    r6800 r6827  
    9292        $pages[] = $bp->pages->register->id;
    9393
    94     if ( !empty( $bp->pages->forums ) )
     94    if ( !empty( $bp->pages->forums ) && ( !bp_is_active( 'forums' ) || ( bp_is_active( 'forums' ) && bp_forums_has_directory() && !bp_forums_is_installed_correctly() ) ) )
    9595        $pages[] = $bp->pages->forums->id;
    9696
Note: See TracChangeset for help on using the changeset viewer.