Skip to:
Content

BuddyPress.org

Changeset 1799


Ignore:
Timestamp:
09/06/2009 03:09:53 AM (16 years ago)
Author:
apeatling
Message:

Committing missed xprofile updates to support profile re-ordering.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile.php

    r1779 r1799  
    66    define ( 'BP_XPROFILE_SLUG', 'profile' );
    77
     8require ( BP_PLUGIN_DIR . '/bp-xprofile/bp-xprofile-admin.php' );
    89require ( BP_PLUGIN_DIR . '/bp-xprofile/bp-xprofile-classes.php' );
    910require ( BP_PLUGIN_DIR . '/bp-xprofile/bp-xprofile-filters.php' );
     
    174175    if ( !is_site_admin() )
    175176        return false;
    176 
    177     require ( BP_PLUGIN_DIR . '/bp-xprofile/bp-xprofile-admin.php' );
    178    
     177           
    179178    /* Add the administration tab under the "Site Admin" tab for site administrators */
    180179    add_submenu_page( 'bp-core.php', __("Profile Field Setup", 'buddypress'), __("Profile Field Setup", 'buddypress'), 1, __FILE__, "xprofile_admin" );
     
    961960}
    962961
     962function xprofile_update_field_position( $field_id, $position ) {
     963    return BP_XProfile_Field::update_position( $field_id, $position);
     964}
     965
    963966/**
    964967 * xprofile_avatar_upload_dir()
Note: See TracChangeset for help on using the changeset viewer.