Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/24/2012 10:34:38 PM (13 years ago)
Author:
boonebgorges
Message:

Allows users to modify profile field visibility during registration. Fixes #4044.

File:
1 edited

Legend:

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

    r5792 r5837  
    160160   
    161161    // We only need to fetch visibility levels when viewing your own profile
    162     if ( bp_is_my_profile() || bp_current_user_can( 'bp_moderate' ) ) {
     162    if ( bp_is_my_profile() || bp_current_user_can( 'bp_moderate' ) || bp_is_register_page() ) {
    163163        $fetch_visibility_level_default = true;
    164164    } else {
Note: See TracChangeset for help on using the changeset viewer.