HEX
Server: LiteSpeed
System: Linux premium140.web-hosting.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
User: ukqcurpj (1011)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/ukqcurpj/www/wp-content/plugins/paid-memberships-pro/includes/updates/upgrade_1_4_2.php
<?php
function pmpro_upgrade_1_4_2()
{
	/*
		Setting the new use_ssl setting.
		PayPal Website Payments Pro, Authorize.net, and Stripe will default to use ssl.
		PayPal Express and the test gateway (no gateway) will default to not use ssl.
	*/
	$gateway = get_option( "pmpro_gateway");
	if($gateway == "paypal" || $gateway == "authorizenet" || $gateway == "stripe")
		update_option("pmpro_use_ssl", 1);
	else
		update_option("pmpro_use_ssl", 0);

	update_option("pmpro_db_version", "1.42");
	return 1.42;
}