[buddypress-trac] [BuddyPress] #5262: Empty user visibility overrides default visibility settings
buddypress-trac
noreply at wordpress.org
Wed Nov 27 17:11:48 UTC 2013
#5262: Empty user visibility overrides default visibility settings
--------------------------+-----------------------------
Reporter: dcavins | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: XProfile | Version: 1.8.1
Severity: normal | Keywords: has-patch
--------------------------+-----------------------------
If for some reason the `$user_visibililty_levels` aren't set in
`bp_xprofile_get_fields_by_visibility_levels`, then the function doesn't
enforce the default visibility levels. I simply removed the
user_visibility isset check so that the defaults get applied no matter
what.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5262>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list