Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Display Taxonomy Field data in user profiles #392

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

reygcalantaol
Copy link
Collaborator

@reygcalantaol reygcalantaol commented Nov 25, 2023

Resolves #396

Description

The issue is \WPUM\carbon_get_user_meta returns empty for taxonomy field.

Testing Instructions

  1. Create a custom taxonomy and a taxonomy field by following the guide at https://wpusermanager.com/article/268-taxonomy-field/.
  2. Choose the checkbox field type.
  3. During user registration, ensure that the custom taxonomy is selected.
  4. Observe that the data does not appear in the user's profile.

Pre-review Checklist

  • Issue and pull request titles are properly formatted.
  • Acceptance criteria have been satisfied and marked in the related issue.
  • Unit tests are included (if applicable).
  • Self-review of code changes has been completed.
  • Self-review of UX changes has been completed.
  • Review has been requested from @polevaultweb.

@wp-user-manager
Copy link
Collaborator

@reygcalantaol I couldn't recreate this issue - is it not appearing in the wp-admin user profile?

@reygcalantaol
Copy link
Collaborator Author

@polevaultweb @wp-user-manager
The issue is that the taxonomy terms selected during registration does not display in the user's profile page.

To reproduce:

@wp-user-manager
Copy link
Collaborator

@reygcalantaol very strange, still can't recreate -

Settings

image

After Registration - Profile
image

After Registration - Account edit
image

After Registration - WP Admin profile
image

@reygcalantaol
Copy link
Collaborator Author

reygcalantaol commented Mar 31, 2024

@polevaultweb
The issue is to add the user taxonomy values in the primary fields section:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Taxonomy Field's data not displaying in the user's profileBroken functionality should (not)...
2 participants