Permalink
Browse files

Added blog and path cache to reset on install/upgrade.

  • Loading branch information...
1 parent 9a03e14 commit e7d44152c6203455352f1635f8fffa28d12bd752 @mvied committed Mar 30, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/WordPressHTTPS.php
View
2 lib/WordPressHTTPS.php
@@ -251,6 +251,8 @@ public function install() {
// Reset cache
$this->setSetting('secure_external_urls', $this->_settings['secure_external_urls'], $blog_id);
$this->setSetting('unsecure_external_urls', $this->_settings['unsecure_external_urls'], $blog_id);
+ $this->setSetting('path_cache', $this->_settings['path_cache'], $blog_id);
+ $this->setSetting('blog_cache', $this->_settings['blog_cache'], $blog_id);
// Set default domain mapping
if ( $this->getSetting('ssl_host_mapping', $blog_id) == array() ) {

0 comments on commit e7d4415

Please sign in to comment.