Revert more changes in `xprofile_set_field_data()` and reinstate `$field` var.