Permalink
Browse files

Major bug fix. I'm bad.

  • Loading branch information...
mvied committed Feb 18, 2013
1 parent 7c187d3 commit 19fa155a390f589a10f1f293e5918e276dc9cc0f
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/WordPressHTTPS.php
View
@@ -95,7 +95,8 @@ public function getHttpUrl() {
*/
public function getHttpsUrl() {
if ( !isset($this->_https_url) ) {
- $this->_https_url = clone $this->getHttpUrl()->setScheme('https');
+ $this->_https_url = clone $this->getHttpUrl();
+ $this->_https_url->setScheme('https');
if ( is_string($this->getSetting('ssl_host')) && $this->getSetting('ssl_host') != '' ) {
$ssl_host = rtrim($this->getSetting('ssl_host'), '/') . '/';

0 comments on commit 19fa155

Please sign in to comment.