I don't think this is a good idea. If people have trouble with fetching secure URLs they need to update their server rather than make insecure requests and leave themselves open to an attack. If absolutely necessary, the function can be overridden in a plugin to be insecure.
I don't think this is a good idea. If people have trouble with fetching secure URLs they need to update their server rather than make insecure requests and leave themselves open to an attack. If absolutely necessary, the function can be overridden in a plugin to be insecure.