Skip to:
Content

BuddyPress.org

Changes between Version 5 and Version 6 of Ticket #6176, comment 7


Ignore:
Timestamp:
02/12/2015 06:00:09 AM (10 years ago)
Author:
r-a-y
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6176, comment 7

    v5 v6  
    1 `01.patch` follows the ''"We could also hide the page assignment UI if bp_get_signup_allowed() returns false"'' approach by removing the "Registration" pages dropdown when registration is disabled.
     1`01.patch` removes the "Registration" pages dropdown when registration is disabled.
    22
    33Instead of using `bp_get_signup_allowed()`, we can simply use `bp_get_option( 'users_can_register' )` as multisite filters this DB option: