mirror of
git://develop.git.wordpress.org/
synced 2025-04-11 23:52:01 +02:00
Previously, `get_home_url()` would automatically switch to `https` if the current request is already `https`, but would only do so on the front end. This addresses the inconsistent behavior of returning different values in the admin and on the frontend. Follow-up to [12598], [21937], [24844]. Props herregroen, mukesh27. Fixes #52421. git-svn-id: https://develop.svn.wordpress.org/trunk@50156 602fd350-edb4-49c9-b593-d223f7449a82