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-loader.php

    r5789 r5792  
    1616class BP_XProfile_Component extends BP_Component {
    1717    /**
    18      * The acceptable privacy levels for xprofile fields.
     18     * The acceptable visibility levels for xprofile fields.
    1919     * @since 1.6
    20      * @see bp_xprofile_get_privacy_levels()
    21      */
    22     var $privacy_levels = array();
     20     * @see bp_xprofile_get_visibility_levels()
     21     */
     22    var $visibility_levels = array();
    2323
    2424    /**
     
    9090        ) );
    9191       
    92         // Register the privacy levels. See bp_xprofile_get_privacy_levels() to filter     
    93         $this->privacy_levels = array(
     92        // Register the visibility levels. See bp_xprofile_get_visibility_levels() to filter       
     93        $this->visibility_levels = array(
    9494            'public'  => array(
    9595                'id'    => 'public',
     
    103103       
    104104        if ( bp_is_active( 'friends' ) ) {
    105             $this->privacy_levels['friends'] = array(
     105            $this->visibility_levels['friends'] = array(
    106106                'id'    => 'friends',
    107107                'label' => __( 'My Friends', 'buddypress' )
Note: See TracChangeset for help on using the changeset viewer.