Skip to:
Content

BuddyPress.org

Ticket #3580: 3680-1.patch

File 3680-1.patch, 1.2 KB (added by DJPaul, 13 years ago)
  • bp-core/bp-core-functions.php

     
    401401
    402402        // Activate and Register are special cases. They are not components but they need WP pages.
    403403        // If user registration is disabled, we can skip this step.
    404         if ( isset( $bp->site_options['registration'] ) && ( 'user' == $bp->site_options['registration'] || ( 'all' == $bp->site_options['registration'] ) ) ) {
     404        if ( bp_get_signup_allowed() ) {
    405405                $wp_page_components[] = array(
    406406                        'id'   => 'activate',
    407407                        'name' => __( 'Activate', 'buddypress' )
  • bp-core/admin/bp-core-admin.php

     
    570570
    571571        // Static pages
    572572        $static_pages = array(
    573                 'register' => __( 'Sign-up',    'buddypress' ),
    574                 'activate' => __( 'Activation', 'buddypress' ),
     573                'register' => __( 'Register', 'buddypress' ),
     574                'activate' => __( 'Activate', 'buddypress' ),
    575575        ); ?>
    576576
    577577        <h3><?php _e( 'Registration', 'buddypress' ); ?></h3>