WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. PowerKiKi
    Member
    Posted 2 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

    http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 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

About this Topic