wp_redirect acting weird. requires die() afterward?
- by Joseph Carrington
I am writing a wordpress plugin that redirects the user. for some reason, wp_redirect does not work as think it should, namely: it seems not to redirect the user at all, unless I put a die command in directly after. here is some code:
switch($_GET['wp_favorites_tax'])
{
case 'post_tag':
wp_redirect(add_query_arg('tag',…