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
+3 -3
View File
@@ -34,9 +34,9 @@ final class PluginBootS4Test extends TestCase
'boot() must register Router on wp@9999'
);
self::assertSame(
9998,
has_action('wp', ['WPMultiCity\\Redirect', 'handle']),
'boot() must register Redirect on wp@9998'
1,
has_action('template_redirect', ['WPMultiCity\\Redirect', 'handle']),
'boot() must register Redirect on template_redirect@1'
);
}
}