Changeset 9189 for trunk/src/bp-members/bp-members-template.php
- Timestamp:
- 11/26/2014 02:31:53 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-members/bp-members-template.php
r9096 r9189 1802 1802 */ 1803 1803 function bp_get_signup_allowed() { 1804 global $bp;1804 $bp = buddypress(); 1805 1805 1806 1806 $signup_allowed = false; 1807 1807 1808 1808 if ( is_multisite() ) { 1809 if ( ! isset( $bp->site_options ) ) { 1810 $bp->site_options = bp_core_get_root_options(); 1811 } 1812 1809 1813 if ( in_array( $bp->site_options['registration'], array( 'all', 'user' ) ) ) { 1810 1814 $signup_allowed = true;
Note: See TracChangeset
for help on using the changeset viewer.