Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/12/2011 09:25:51 PM (14 years ago)
Author:
djpaul
Message:

Swap function_exists checks to bp_is_active. Fixes #2718

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-forums/bp-forums-screens.php

    r4088 r4137  
    1818
    1919        // Check to see if the user has posted a new topic from the forums page.
    20         if ( isset( $_POST['submit_topic'] ) && function_exists( 'bp_forums_new_topic' ) ) {
     20        if ( isset( $_POST['submit_topic'] ) && bp_is_active( 'forums' ) ) {
    2121            check_admin_referer( 'bp_forums_new_topic' );
    2222
Note: See TracChangeset for help on using the changeset viewer.