WordPress.org

Support

Support » Plugins and Hacks » WordPress MU Domain Mapping » [Plugin: WordPress MU Domain Mapping] patch for SSL detection

[Plugin: WordPress MU Domain Mapping] patch for SSL detection

  • PowerKiKi

    @powerkiki

    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/

Viewing 1 replies (of 1 total)
  • Plugin Author Ron Rennick

    @wpmuguru

    That looks familiar 😀 Thanks for posting it here as well 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WordPress MU Domain Mapping] patch for SSL detection’ is closed to new replies.
Skip to toolbar