[wp-trac] [WordPress Trac] #52421: Remove admin and login exceptions for https in home_url

WordPress Trac noreply at wordpress.org
Tue Feb 2 19:01:32 UTC 2021


#52421: Remove admin and login exceptions for https in home_url
-------------------------------------+-----------------------------
 Reporter:  herregroen               |       Owner:  SergeyBiryukov
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  5.7
Component:  General                  |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-refresh  |     Focuses:
-------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"50156" 50156]:
 {{{
 #!CommitTicketReference repository="" revision="50156"
 General: Remove admin and login exceptions for `https` in
 `get_home_url()`.

 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.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52421#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list