[wp-trac] [WordPress Trac] #31405: upgrade.php fails with mixed HTTPS (SSL) and simple HTTP sites
WordPress Trac
noreply at wordpress.org
Thu Apr 28 21:48:02 UTC 2016
#31405: upgrade.php fails with mixed HTTPS (SSL) and simple HTTP sites
-----------------------------+------------------------------
Reporter: intersol | Owner:
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: Awaiting Review
Component: Upgrade/Install | Version: 3.0
Severity: normal | Resolution:
Keywords: https has-patch | Focuses: multisite
-----------------------------+------------------------------
Changes (by flixos90):
* keywords: https => https has-patch
Comment:
[attachment:31405.diff] is an approach to fix this problem. It introduces
a new possible `$scheme` value for `set_url_scheme()`. This value is
called `original` and will keep the original scheme of the URL. Every site
should have its current scheme stored in the `home` and `siteurl` options,
so we can rely on that to fix the error.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31405#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list