Why does my wp_safe_redirect output the ERR_TOO_MANY_REDIRECTS error?
Because you’re in an infinite loop. When the user visits the site, init fires, and they get redirected to themes.php?page=theme_setup Then they arrive on themes.php?page=theme_setup and the init hook fires and redirects them to themes.php?page=theme_setup So then they arrive on themes.php?page=theme_setup and the init hook fires and redirects them to themes.php?page=theme_setup So then they arrive … Read more