WordPress MU Domain Mapping
patch for SSL detection (2 posts)

  1. PowerKiKi
    Posted 4 years ago #

    Hello, I use wordpress-mu-domain-mapping and noticed inconsistencies in the code. The $_SERVER['HTTPS'] is set to either 'off' or 'Off'. I am not even sure why this variable is set, but at least I believe it should respect PHP documentation and use empty/not empty, instead of the IIS' exceptionnal value 'off'.

    Also I would suggest to use WordPress core function is_ssl() instead of "manual" detections. Here is a patch for that based on trunk: http://pastebin.com/VqnHarsm


  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 4 years ago #

    That looks familiar :D Thanks for posting it here as well :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress MU Domain Mapping
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic