diff --git a/includes/RestApi/SettingsController.php b/includes/RestApi/SettingsController.php index 0b043d6..8d25082 100644 --- a/includes/RestApi/SettingsController.php +++ b/includes/RestApi/SettingsController.php @@ -74,7 +74,7 @@ public function set_options( $request ) { 400 ); } -error_log($field['value']); + switch ( $field['id'] ) { case 'skip404': $result = update_option( 'newfold_skip_404_handling', $field['value'] );