[buddypress-trac] [BuddyPress Trac] #7391: Can 'change' visibility on registration form even for fields marked "Enforce field visibility"

buddypress-trac noreply at wordpress.org
Thu Dec 15 11:00:12 UTC 2016


#7391: Can 'change' visibility on registration form even for fields marked
"Enforce field visibility"
------------------------------------+--------------------
 Reporter:  maccast                 |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  2.7.4
Component:  Extended Profile        |     Version:  2.7.2
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+--------------------

Comment (by hnla):

 One last test patch - test first as the preferable-ish approach:

 Updates the
 `bp_xprofile_grant_bp_xprofile_change_field_visibility_for_logged_out_users()`
 function to include a vis field default value check.

 This approach doesn't require template editing, preserving the function.
 This seems to test out ok.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7391#comment:8>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list