Vinny,
I have this code in my functions.php for reasons other than BBPress:
// Custom die handler for things like insufficient permissions
add_filter(‘wp_die_handler’,’custom_404_die_handler’);
function custom_404_die_handler() {
wp_safe_redirect(home_url()) ;
die();
}
The problem is when I use the direct unsubscribe link in my BBPNNS email notifications, I don’t get the “successful” message as I want. I just get redirected to the homepage.
Is this a plugin thing or do I need to update my wp_die_handler somehow? THanks!