Permalink
Browse files

Just in case.

  • Loading branch information...
mvied committed Feb 17, 2013
1 parent e6f01f5 commit bd8cea9ca5404954e06cc601652546ad1c3e6765
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/WordPressHTTPS.php
View
@@ -185,7 +185,7 @@ public function install() {
foreach ( $this->getSettings() as $option => $value ) {
if ( is_multisite() ) {
if ( add_blog_option($blog_id, $option, $value) && isset($defaults[$option]) ) {
- if ( $option == 'ssl_host' ) {
+ if ( $option == 'ssl_host' && strpos($value, 'https://') !== 0 ) {
$value = 'https://' . $value;
} else {
$value = $defaults[$option];

0 comments on commit bd8cea9

Please sign in to comment.