feat(wpmc 1.1.0): Redirect hook moves to template_redirect@1

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Vladimir Bryzgalov
2026-05-19 02:15:46 +05:00
parent 0ec9733368
commit 9586810507
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ final class Redirect
{
public static function register(): void
{
\add_action('wp', [self::class, 'handle'], 9998);
\add_action('template_redirect', [self::class, 'handle'], 1);
}
public static function handle(): void