[buddypress-trac] [BuddyPress Trac] #8093: Field Visibility Not Honored in PHP 7.1 & above

buddypress-trac noreply at wordpress.org
Mon May 13 22:31:45 UTC 2019

#8093: Field Visibility Not Honored in PHP 7.1 & above
 Reporter:  brianbws           |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Extended Profile   |     Version:  4.3.0
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
Changes (by boonebgorges):

 * keywords:   => reporter-feedback


 I'm unable to reproduce this behavior. I've tested both of the following

 1. The field is set to 'Enforce field visibility' with visibility set to
 'Only Me'
 2. The field is set to 'Allow members to override' and the profile owner
 changes to 'Only Me'

 Tested with two Subscriber-level accounts.

 My guess is that there's some custom code on the installation that's
 either modifying WP user roles/permissions, or is modifying the way that
 BP's profile visibility system works (like maybe a filter on

 My guess is that the PHP version is a red herring, and there's really a
 difference between the two installations, but this needs further
 investigation. See especially `bp_xprofile_get_hidden_fields_for_user()`,
 which is a good place to begin debugging.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8093#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list