$v) { $_POST[$k] = stripslashes($v); } unset($_POST['Submit']); $sanitize = array( 'newfb_update_options', 'fb_appid', 'fb_secret', 'fb_redirect', 'fb_redirect_reg', 'fb_load_style' ); foreach ($sanitize AS $k) { $_POST[$k] = sanitize_text_field($_POST[$k]); } $_POST['fb_user_prefix'] = preg_replace("/[^A-Za-z0-9\-_ ]/", '', $_POST['fb_user_prefix']); update_option("nextend_fb_connect", maybe_serialize($_POST)); $newfb_status = 'update_success'; } } } } static function NextendFB_Options_Page() { $domain = get_option('siteurl'); $domain = str_replace(array( 'http://', 'https://' ), array( '', '' ), $domain); $domain = str_replace('www.', '', $domain); $a = explode("/", $domain); $domain = $a[0]; ?>
Facebook needs the CURL PHP extension. Contact your server adminsitrator!
Protocol https not supported or disabled in libcurl. Contact your server adminsitrator!
Facebook needs the JSON PHP extension. Contact your server adminsitrator!