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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user