Changeset 5792 for trunk/bp-xprofile/bp-xprofile-loader.php
- Timestamp:
- 02/15/2012 08:44:52 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile/bp-xprofile-loader.php
r5789 r5792 16 16 class BP_XProfile_Component extends BP_Component { 17 17 /** 18 * The acceptable privacy levels for xprofile fields.18 * The acceptable visibility levels for xprofile fields. 19 19 * @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(); 23 23 24 24 /** … … 90 90 ) ); 91 91 92 // Register the privacy levels. See bp_xprofile_get_privacy_levels() to filter93 $this-> privacy_levels = array(92 // Register the visibility levels. See bp_xprofile_get_visibility_levels() to filter 93 $this->visibility_levels = array( 94 94 'public' => array( 95 95 'id' => 'public', … … 103 103 104 104 if ( bp_is_active( 'friends' ) ) { 105 $this-> privacy_levels['friends'] = array(105 $this->visibility_levels['friends'] = array( 106 106 'id' => 'friends', 107 107 'label' => __( 'My Friends', 'buddypress' )
Note: See TracChangeset
for help on using the changeset viewer.