Add support for HTTPS base URL
-
When your WordPress blog is working with HTTPS the plugin still uses HTTP urls, causing errors in the browser and of course undermining the security and HTTP/2 optimization.
The fix is simple. In
wp-auto-upload.php
change:$base_url = $uploader->getHostUrl() == null ? null : "https://{$uploader->getHostUrl()}";
To:
$base_url = $uploader->getHostUrl() == null ? null : "//{$uploader->getHostUrl()}";
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Add support for HTTPS base URL’ is closed to new replies.