Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/28/2023 04:15:24 PM (3 years ago)
Author:
dcavins
Message:

Introduce basic community visibility feature.

Site admins now have the option to restrict access to the
community portion of a BuddyPress site. If the site admin
chooses "members only," then, when a non-logged-in
user attempts to visit a BuddyPress screen, she will
be shown an access error message and a log-in form.

Props imath, sbrajesh, jjj, shawfactor.

Fixes #8734.

File:
1 edited

Legend:

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

    r13490 r13533  
    7474        // Email unsubscribe salt.
    7575        'bp-emails-unsubscribe-salt'           => '',
     76
     77        // Community visibility.
     78        '_bp_community_visibility'             => array( 'global' => 'anyone' ),
    7679
    7780        /* Groups ************************************************************/
Note: See TracChangeset for help on using the changeset viewer.