Skip to content

Commit

Permalink
Update VSUpgrades file; See: wpsharks/comet-cache#754
Browse files Browse the repository at this point in the history
  • Loading branch information
kristineds committed May 25, 2016
1 parent bac2103 commit 1f3a9aa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/includes/classes/VsUpgrades.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ protected function fromLte151107()
if (!empty($existing_options['cache_clear_xml_sitemap_patterns']) && strpos($existing_options['cache_clear_xml_sitemap_patterns'], '**') === false) {
$this->plugin->options['cache_clear_xml_sitemap_patterns'] = str_replace('*', '**', $existing_options['cache_clear_xml_sitemap_patterns']);
}
if (!empty($existing_options['exclude_hosts']) && strpos($existing_options['exclude_hosts'], '**') === false) {
$this->plugin->options['exclude_hosts'] = str_replace('*', '**', $existing_options['exclude_hosts']);
}
if (!empty($existing_options['exclude_uris']) && strpos($existing_options['exclude_uris'], '**') === false) {
$this->plugin->options['exclude_uris'] = str_replace('*', '**', $existing_options['exclude_uris']);
}
Expand Down

0 comments on commit 1f3a9aa

Please sign in to comment.