Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/11/2012 09:19:15 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Use bp_get_option() in more places, and include bp-core-options.php in update wizard.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-template.php

    r5710 r5727  
    11411141
    11421142        if ( is_multisite() ) {
    1143             if ( in_array( $bp->site_options['registration'], array( 'all', 'user' ) ) )
     1143            if ( in_array( $bp->site_options['registration'], array( 'all', 'user' ) ) ) {
    11441144                $signup_allowed = true;
     1145            }
    11451146
    11461147        } else {
    1147             if ( get_option( 'users_can_register') )
     1148            if ( bp_get_option( 'users_can_register') ) {
    11481149                $signup_allowed = true;
     1150            }
    11491151        }
    11501152
Note: See TracChangeset for help on using the changeset viewer.