Skip to:
Content

BuddyPress.org

Changeset 1723 for trunk/bp-xprofile.php


Ignore:
Timestamp:
08/28/2009 07:05:23 PM (17 years ago)
Author:
apeatling
Message:

Fixing bug with inconsistent name display.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile.php

    r1718 r1723  
    144144    /* Register this in the active components array */
    145145    $bp->active_components[$bp->profile->slug] = $bp->profile->id;
    146        
     146
    147147    $bp->profile->field_types = apply_filters( 'xprofile_field_types', array( 'textbox', 'textarea', 'radio', 'checkbox', 'selectbox', 'multiselectbox', 'datebox' ) );
    148148
     
    150150        $bp->profile->table_name_wire = $wpdb->base_prefix . 'bp_xprofile_wire';
    151151}
    152 add_action( 'plugins_loaded', 'xprofile_setup_globals', 5 );   
    153 add_action( 'admin_menu', 'xprofile_setup_globals', 1 );
     152add_action( 'plugins_loaded', 'xprofile_setup_globals', 5 );
     153add_action( 'admin_menu', 'xprofile_setup_globals', 2 );
    154154
    155155/**
     
    812812    else
    813813        $field_id = xprofile_get_field_id_from_name( $field );
    814    
     814
    815815    if ( !$field_id )
    816816        return false;
Note: See TracChangeset for help on using the changeset viewer.