Skip to content
This repository
Browse code

Major bug fix. I'm bad.

  • Loading branch information...
commit 19fa155a390f589a10f1f293e5918e276dc9cc0f 1 parent 7c187d3
Mike Ems authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  lib/WordPressHTTPS.php
3  lib/WordPressHTTPS.php
@@ -95,7 +95,8 @@ public function getHttpUrl() {
95 95 */
96 96 public function getHttpsUrl() {
97 97 if ( !isset($this->_https_url) ) {
98   - $this->_https_url = clone $this->getHttpUrl()->setScheme('https');
  98 + $this->_https_url = clone $this->getHttpUrl();
  99 + $this->_https_url->setScheme('https');
99 100
100 101 if ( is_string($this->getSetting('ssl_host')) && $this->getSetting('ssl_host') != '' ) {
101 102 $ssl_host = rtrim($this->getSetting('ssl_host'), '/') . '/';

0 comments on commit 19fa155

Please sign in to comment.
Something went wrong with that request. Please try again.