Hi there,
Can you provide some more info about how you are using this tag? As well as the PHP version.
I am currently working in PHP 8.2 and WordPress 6.1, which seem to be working as expected.
hmm, I think we need more details about your environment in order to debug this issue. What theme do you use? Are there any plugins that you think might interfere with the wp_redirect() function from PHP?