Support » Plugin: WP Block Admin » after wp_redirect

  • You should add an “exit” command after wp_redirect at line 77. I tested your plugin and without exit; in some circumstances wp_redirect doesn’t fullfill its functionality. For example with custom posts (url: WORDPRESSSITENAME/wp-admin/edit.php?post_type=customposttype).

    I added the exit; command after wp_redirect and after that your plugin works perfect. Thank you.

  • The topic ‘after wp_redirect’ is closed to new replies.