[wp-trac] [WordPress Trac] #31405: upgrade.php fails with mixed HTTPS (SSL) and simple HTTP sites
WordPress Trac
noreply at wordpress.org
Tue Jan 12 08:02:32 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 | Focuses: multisite
-----------------------------+------------------------------
Comment (by flixos90):
Replying to [comment:1 SergeyBiryukov]:
> We could use
[http://codex.wordpress.org/Function_Reference/set_url_scheme
set_url_scheme()] instead of `str_replace()`.
Since I just detected this ticket, I wanted to mention that I have created
a patch using `set_url_scheme()` as an attachment in the duplicate ticket
#33887 (see https://core.trac.wordpress.org/ticket/33887#comment:5). I
wonder what you think about it.
Regardless, I agree that using this function will be a better solution
than an "upgrade only" solution because this issue, at least to me, is a
general issue which does not only happen on upgrades, but rather everytime
you switch sites and then call one of those URL functions.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31405#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list