From 47b58553965d4edce7af8e1e6df855ee24ac76aa Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Tue, 7 Jul 2020 21:15:14 +0100 Subject: [PATCH] feature-redirect: fix comment --- modules/feature-redirect.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/feature-redirect.php b/modules/feature-redirect.php index ad50dd8..a01007d 100644 --- a/modules/feature-redirect.php +++ b/modules/feature-redirect.php @@ -36,7 +36,7 @@ function update_redirect_metadata(&$index_entry, &$pagedata) { $index_entry->redirect_target = $matches[1]; $index_entry->redirect_absolute = false; } - // We don't disable absolute redirects here, because it's the view action that processes them - we only register them here. Checking here would result in pages that are supposed to be redirects being missed if redirect_absolute_enabled is turned on after such a page is created. + // We don't disable absolute redirects here, because it's the view action that processes them - we only register them here. Checking here would result in pages that are supposed to be redirects being missed if redirect_absolute_enable is turned on after such a page is created. elseif(preg_match("/^# ?REDIRECT ?\[[^\]]+\]\(([^)]+)\)/", $pagedata, $matches) === 1) { $index_entry->redirect = true; $index_entry->redirect_target = $matches[1];