Skip to content

Commit cade948

Browse files
committed
Minor changes.
1 parent 34012b7 commit cade948

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

force/filters.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ public function contentURL($matches) {
8484
$internal = $this->isInternalLink($matches[0]);
8585

8686
// Exceptions by tag and internal/external URL's
87-
if ((isset($tag) && 'a' == $tag && $internal && !$this->plugin->enabled('FORCE_HTTPS_INTERNAL_LINKS')) || // Prevent internal links to be altered
88-
((!isset($tag) || 'a' != $tag) && $internal && !$this->plugin->enabled('FORCE_HTTPS_INTERNAL_RESOURCES')) || // Prevent internal resources to be altered
89-
(isset($tag) && 'a' == $tag && !$internal && !$this->plugin->enabled('FORCE_HTTPS_EXTERNAL_LINKS', false)) || // Prevent external links to be altered
90-
((!isset($tag) || 'a' != $tag) && !$internal && !$this->plugin->enabled('FORCE_HTTPS_EXTERNAL_RESOURCES'))) { // Prevent external resources to be altered
87+
if ((isset($tag) && 'a' == $tag && $internal && !$this->plugin->enabled('FORCE_HTTPS_INTERNAL_LINKS')) || // prevent internal links to be altered
88+
((!isset($tag) || 'a' != $tag) && $internal && !$this->plugin->enabled('FORCE_HTTPS_INTERNAL_RESOURCES')) || // prevent internal resources to be altered
89+
(isset($tag) && 'a' == $tag && !$internal && !$this->plugin->enabled('FORCE_HTTPS_EXTERNAL_LINKS', false)) || // prevent external links to be altered
90+
((!isset($tag) || 'a' != $tag) && !$internal && !$this->plugin->enabled('FORCE_HTTPS_EXTERNAL_RESOURCES'))) { // prevent external resources to be altered
9191

9292
// Original URL
9393
return $matches[0];

0 commit comments

Comments
 (0)