Changeset 9220
- Timestamp:
- 12/09/2014 09:31:00 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/testcases/blogs/template.php
r9219 r9220 122 122 public function test_bp_signup_enabled_when_registration_setting_does_not_exist_should_default_to_true() { 123 123 $old_settings = $settings = buddypress()->site_options['registration']; 124 if ( is set( $settings['registration'] ) ) {124 if ( is_array( $settings['registration'] ) && isset( $settings['registration'] ) ) { 125 125 unset( $settings['registration'] ); 126 126 }
Note: See TracChangeset
for help on using the changeset viewer.