PluginProbe
User Access Manager / 2.3.2
User Access Manager v2.3.2
2.3.20 2.3.19 2.3.18 2.3.17 2.3.16 2.3.15 2.3.14 2.3.13 trunk 0.6 0.6.1 0.6.2 0.7 0.7 Beta 0.7.0.1 0.8 0.8.0.1 0.8.0.2 0.9 0.9.1 0.9.1.1 0.9.1.2 0.9.1.3 0.9.1.4 1.0 All 136 releases
← All changes | src/Controller/Frontend/RedirectController.php +1 -4 2.3.142.3.2 View file →
@@ -158,11 +158,8 @@
158 158 } elseif ($redirect === 'custom_url') {
159 159 $url = $this->mainConfig->getRedirectCustomUrl();
160 160 } elseif ($redirect === 'login') {
161 161 $url = $this->getLoginUrl();
162 - } elseif ($redirect === 'origin') {
163 - $referer = $this->wordpress->getReferer();
164 - $url = $referer !== false ? $referer : $this->wordpress->getHomeUrl('/');
165 162 } else {
166 163 $url = $this->wordpress->getHomeUrl('/');
167 164 }
168 165
@@ -261,9 +258,9 @@
261 258
262 259 return $headers;
263 260 }
264 261
265 - public function getFileUrl(string $url, int|string|null $id): string
262 + public function getFileUrl(string $url, int|string $id): string
266 263 {
267 264 // Nginx always supports real urls so we need the new urls only
268 265 // if we don't use nginx and mod_rewrite is disabled
269 266 if ($this->mainConfig->lockFile() === true