You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently, a website URL can be added to a Location, but the user must enter http:// or https:// for it to display/work correctly on the front end.
Describe the solution you'd like
A method to check website URLs and add missing http:// or https:// prefixes
From another project:
/**
* @param $url
*/
public function updateWebsiteURL(&$url)
{
if ($url && !preg_match('/^(http|https):\/\//', $url)) {
$url = 'http://' . $url;
}
}
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Currently, a website URL can be added to a Location, but the user must enter http:// or https:// for it to display/work correctly on the front end.
Describe the solution you'd like
A method to check website URLs and add missing http:// or https:// prefixes
From another project:
The text was updated successfully, but these errors were encountered: