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