Profile field visibility

On the profile edit and registration forms, the “This field can be seen by” line and its Change control appear only when the member can actually change that field’s visibility. Otherwise nothing is printed.

The control shows only when all three are true:

The pack never changes a field’s visibility. It stays in the field’s xProfile meta (default_visibility, plus each member’s own choice where overrides are allowed), which BuddyPress uses to hide the field from other people.

Why the template checks the field

BP Legacy shows the Change control whenever bp_current_user_can( 'bp_xprofile_change_field_visibility' ) is true, and otherwise still prints the visibility level as plain text. On LocalHero that check was found to allow the control even for fields set to enforce their visibility. From 0.1.46 the templates (members/single/profile/edit.php and members/register.php) read the field’s own setting first and drop the plain-text fallback; 0.1.47 added the field type check.