Permalink
Browse files

Fixed ssl_host value and added trailing slash.

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

0 comments on commit 7e69d44

Please sign in to comment.