Skip to:
Content

BuddyPress.org

Changeset 4880


Ignore:
Timestamp:
07/28/2011 01:20:16 AM (14 years ago)
Author:
boonebgorges
Message:

Show empty xprofile fields on registration pages. Fixes #3394

File:
1 edited

Legend:

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

    r4869 r4880  
    154154    global $bp, $profile_template;
    155155
    156     // Only show empty fields if we're on the Dashboard, or on a user's profile edit page
    157     $hide_empty_fields = ( !is_network_admin() && !is_admin() && !bp_is_user_profile_edit() );
     156    // Only show empty fields if we're on the Dashboard, or we're on a user's profile edit page,
     157    // or this is a registration page
     158    $hide_empty_fields = ( !is_network_admin() && !is_admin() && !bp_is_user_profile_edit() && !bp_is_register_page() );
    158159
    159160    $defaults = array(
Note: See TracChangeset for help on using the changeset viewer.