WP-2989 Cleaned up a little of the code in gsb_feature_base_fields_field_attach_form()