Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/03/2013 12:45:21 PM (12 years ago)
Author:
boonebgorges
Message:

Removes bbp_ copypasta in bp-core-options.php

This erroneous code appears to have been in place for several versions. It's
likely that, as a result, the options in question have been broken for several
versions, since the setter and checker were using different option names. So
there should be no backward compatibility concerns with making these changes.

File:
1 edited

Legend:

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

    r7099 r7139  
    494494     */
    495495    function bp_get_group_forums_root_id( $default = '0' ) {
    496         return (int) apply_filters( 'bp_get_group_forums_root_id', (int) bp_get_option( '_bbp_group_forums_root_id', $default ) );
     496        return (int) apply_filters( 'bp_get_group_forums_root_id', (int) bp_get_option( '_bp_group_forums_root_id', $default ) );
    497497    }
    498498
     
    508508 */
    509509function bp_is_group_forums_active( $default = true ) {
    510     return (bool) apply_filters( 'bp_is_group_forums_active', (bool) bp_get_option( '_bbp_enable_group_forums', $default ) );
     510    return (bool) apply_filters( 'bp_is_group_forums_active', (bool) bp_get_option( '_bp_enable_group_forums', $default ) );
    511511}
    512512
Note: See TracChangeset for help on using the changeset viewer.