Fixes to register-settings.php