[wp-trac] [WordPress Trac] #36323: home_url returns url with wrong scheme

WordPress Trac noreply at wordpress.org
Fri Mar 25 03:30:16 UTC 2016


#36323: home_url returns url with wrong scheme
-------------------------------------+------------------------------
 Reporter:  Gerkin                   |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Permalinks               |     Version:  4.4.2
 Severity:  normal                   |  Resolution:
 Keywords:  https reporter-feedback  |     Focuses:  multisite
-------------------------------------+------------------------------
Changes (by johnbillion):

 * keywords:   => https reporter-feedback


Comment:

 Thanks for the report, @Gerkin.

 How are you implementing HTTPS on your site? WordPress core doesn't vary
 the home URL scheme depending on whether or not a user is logged in, so
 there must be something else affecting its return value, such as a plugin
 on your site that's filtering the value.

  * How are you implementing HTTPS URLs on your subistes?
  * Do you have a plugin on your site which is filtering the home URL
 return value?
  * Are you using domain mapping?

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


More information about the wp-trac mailing list