Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/12/2015 07:08:16 PM (9 years ago)
Author:
imath
Message:

Make sure Site admins can set the "register" and "activate" pages in the pages association settings screen even if signups are not allowed

In 2.2, when signups are not allowed, it is not possible to associate a WordPress page to the register or the activate specific components. It introduced some confusion for some site admins and had an impact on plugins allowing users to invite others.

We will keep on working on the best way to deal with these directory pages in the next release. In the meantime, we are bringing back the possibility to always set the association for the register and the activate specific components.

props boonebgorges

See #6176
Fixes #6197 (branch 2.2)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/src/bp-core/bp-core-functions.php

    r9428 r9479  
    433433
    434434            // 'register' and 'activate' do not have components, but should be whitelisted.
    435             if ( bp_get_signup_allowed() && ( 'register' === $component_name || 'activate' === $component_name ) ) {
     435            if ( 'register' === $component_name || 'activate' === $component_name ) {
    436436                continue;
    437437            }
Note: See TracChangeset for help on using the changeset viewer.