Commit 55c17df
authored
fix - Field Visibility add-on does not hide selected fields on My Account / Profile Details page (UR-4643) (#1338)
* fix - apply field visibility filter to profile details read-only view (UR-4643)
The My Account > Profile Details read-only view rendered the raw form data
without applying the `user_registration_profile_account_filter_all_fields`
filter, so fields configured to be hidden on Profile Details (e.g. via the
Field Visibility add-on set to "Registration Form") still appeared for
regular users. The editable profile form already applies this filter through
user_registration_form_data(); this makes the read-only view consistent.
* fix - condense inline comment on profile details visibility filter (UR-4643)1 parent c3f1950 commit 55c17df
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
348 | 351 | | |
349 | 352 | | |
350 | 353 | | |
| |||
0 commit comments