buddyboss-platform
buddyboss-platform copied to clipboard
PROD-890 #1822 - Fix: The profile completion widget is not updating after profile type was changed
All Submissions:
- [x] Have you followed the Pull Requests Guidelines?
- [x] Does your code follow the WordPress' Coding Standards?
- [x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
Changes proposed in this Pull Request:
Fixes #1822 .
How to test the changes in this Pull Request:
- Create at least two profile types.
- Then, create some profile fields for each profile type.
- Use the Profile Completion widget on one of your pages.
- Now, assign one of your profile types to one of your users.
- Login using that user and try to complete all the requirements in the Profile Completion widget.
- After that, change the profile type of that user.
- Profile Completion widget updated.
Proof Screenshots or Video
https://vimeo.com/588860417/6cf0eb518e
Other information:
- [x] Have you added an explanation of what your changes do and why you'd like us to include them?
- [ ] Have you written new tests for your changes, as applicable?
- [x] Have you successfully run tests with your changes locally?
Changelog entry
Enter a summary of all changes on this Pull Request. This will appear in the changelog if accepted.
@dipskakadiya I created another pull request as per your review.