function scoper_use_posted_init_options()
{
    if (0 !== strpos($GLOBALS['plugin_page_cr'], 'rs-') || defined('GROUP_ROLES_RS')) {
        return;
    }
    if (isset($_POST['rs_defaults'])) {
        $arr = scoper_default_options();
    } else {
        $arr = $_POST;
    }
    define('SCOPER_CUSTOM_USER_BLOGCAPS', !empty($arr['custom_user_blogcaps']));
    define('DEFINE_GROUPS_RS', !empty($arr['define_usergroups']));
    define('GROUP_ROLES_RS', !empty($arr['define_usergroups']) && !empty($arr['enable_group_roles']));
    define('USER_ROLES_RS', !empty($arr['enable_user_roles']));
    wpp_cache_init(IS_MU_RS && scoper_establish_group_scope());
}
function scoper_refresh_default_options()
{
    global $scoper_default_options;
    require_once dirname(__FILE__) . '/defaults_rs.php';
    $scoper_default_options = apply_filters('default_options_rs', scoper_default_options());
    if (IS_MU_RS && agp_is_plugin_network_active(SCOPER_BASENAME)) {
        scoper_apply_custom_default_options('scoper_default_options');
    }
}
function scoper_refresh_default_options()
{
    global $scoper_default_options;
    require_once dirname(__FILE__) . '/defaults_rs.php';
    $scoper_default_options = apply_filters('default_options_rs', scoper_default_options());
    if (IS_MU_RS) {
        scoper_apply_custom_default_options('scoper_default_options');
    }
}