Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

#5262 closed defect (bug) (fixed)

Empty user visibility overrides default visibility settings

Reported by: dcavins Owned by: boonebgorges
Priority: normal Milestone: 1.9
Component: Extended Profile Version: 1.8.1
Severity: normal Keywords: has-patch
Cc:

Description

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.

Attachments (1)

default-vis-trump.patch (903 bytes ) - added by dcavins 13 years ago.
Patch for change

Download all attachments as: .zip

Change History (3)

@dcavins
13 years ago

Patch for change

#1 @boonebgorges
13 years ago

  • Milestone Awaiting Review1.9

Yup, this seems right.

#2 @boonebgorges
13 years ago

  • Owner set to boonebgorges
  • Resolutionfixed
  • Status newclosed

In 7609:

Allow admin-set field visibility default to override when user hasn't set a value yet

Fixes #5262

Props dcavins

Note: See TracTickets for help on using tickets.