Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/16/2011 05:38:18 PM (13 years ago)
Author:
djpaul
Message:

Standardise missing page/component link nag warnings.
Also fix nag not appearing for the activation/registration pages.
Fixes #3580

File:
1 edited

Legend:

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

    r5094 r5151  
    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',
Note: See TracChangeset for help on using the changeset viewer.