I tried to update my blog's options, when I pressed the button, the page changed to /wp-admin/updated=true, and I got a 404 error. I found the
add_query_arg() function, and changed
return trim($ret, '?') to just
return $ret, because the ? wasn't in the URI because of it. When I tried to update the options, it went to the options.php page, where it gave me various header errors. Now I can't get it to go to the index page because it can't send
header('Location: ' . $goback); due to headers already being sent by admin.php. This really sucks.