Changeset 1723 for trunk/bp-xprofile.php
- Timestamp:
- 08/28/2009 07:05:23 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-xprofile.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-xprofile.php
r1718 r1723 144 144 /* Register this in the active components array */ 145 145 $bp->active_components[$bp->profile->slug] = $bp->profile->id; 146 146 147 147 $bp->profile->field_types = apply_filters( 'xprofile_field_types', array( 'textbox', 'textarea', 'radio', 'checkbox', 'selectbox', 'multiselectbox', 'datebox' ) ); 148 148 … … 150 150 $bp->profile->table_name_wire = $wpdb->base_prefix . 'bp_xprofile_wire'; 151 151 } 152 add_action( 'plugins_loaded', 'xprofile_setup_globals', 5 ); 153 add_action( 'admin_menu', 'xprofile_setup_globals', 1);152 add_action( 'plugins_loaded', 'xprofile_setup_globals', 5 ); 153 add_action( 'admin_menu', 'xprofile_setup_globals', 2 ); 154 154 155 155 /** … … 812 812 else 813 813 $field_id = xprofile_get_field_id_from_name( $field ); 814 814 815 815 if ( !$field_id ) 816 816 return false;
Note: See TracChangeset
for help on using the changeset viewer.