Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/15/2012 08:44:52 PM (13 years ago)
Author:
boonebgorges
Message:

Changes 'privacy' to 'visibility' throughout, when referencing xprofile fields. See #3695. Props DJPaul.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile/bp-xprofile-admin.php

    r5789 r5792  
    272272                    bp_update_option( 'bp-xprofile-fullname-field-name', $field->name );
    273273
    274                 if ( !empty( $_POST['default-privacy'] ) ) {
    275                     bp_xprofile_update_field_meta( $field_id, 'default_privacy', $_POST['default-privacy'] );
     274                if ( !empty( $_POST['default-visibility'] ) ) {
     275                    bp_xprofile_update_field_meta( $field_id, 'default_visibility', $_POST['default-visibility'] );
    276276                }
    277277
Note: See TracChangeset for help on using the changeset viewer.