$value ) { if ( !in_array( $option, array('_wpnonce', '_wp_http_referer', 'action', 'submit') ) ) { $option = trim( $option ); $value = is_array( $value ) ? $value : trim( $value ); $value = stripslashes_deep( $value ); if (($option == 'wp_siteurl' || $option == 'wp_home') && !empty($value)) { $value = rtrim($value, '/') . '/'; } if ( $value ) { bb_update_option( $option, $value ); } else { bb_delete_option( $option ); } } } if ($action == 'update-users') { bb_apply_wp_role_map_to_orphans(); } $goback = add_query_arg('updated', $action, wp_get_referer()); bb_safe_redirect($goback); } switch (@$_GET['updated']) { case 'update-users': bb_admin_notice( __('User role mapping saved.') ); break; case 'update-options': bb_admin_notice( __('User integration settings saved.') ); break; } bb_get_admin_header(); ?>
Note: updating these settings may cause you to be logged out!'); ?>
$bb_setting) ) { $bb_settings .= '$bb->' . $bb_setting . ' = \'' . $bb->$bb_setting . '\';' . "\n"; } } ?>bb-config.php file in the root directory of your bbPress installation. Afterwards, the settings in this form will reflect the hard coded values, but you will not be able to edit them here.'); ?>