Thread Starter
talv
(@talv)
Also this part:
if (FORCE_SSL_ADMIN) {
$returnurl = str_replace("http:", "https:", $returnurl);
}
Won’t be needed anymore, as the docs say:
$scheme
(string) (Optional) The scheme to use. Accepts ‘http’ or ‘https’, to force those schemes. Default ‘admin’, which obeys force_ssl_admin() and is_ssl().
Default value: ‘admin’