Skip to:
Content

BuddyPress.org

Changeset 1262 for trunk/bp-xprofile.php


Ignore:
Timestamp:
03/26/2009 11:20:12 AM (16 years ago)
Author:
apeatling
Message:

Selectively including files that only need to be included at specific times.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-xprofile.php

    r1255 r1262  
    1818define ( 'BP_XPROFILE_SLUG', apply_filters( 'xprofile_slug', 'profile' ) );
    1919
    20 /* Database access classes and functions */
    2120require ( 'bp-xprofile/bp-xprofile-classes.php' );
    22 
    23 /* Functions for handling the admin area tabs for administrators */
    24 require ( 'bp-xprofile/bp-xprofile-admin.php' );
    25 
    26 /* Functions for applying filters to Xprofile specfic output */
    2721require ( 'bp-xprofile/bp-xprofile-filters.php' );
    28 
    29 /* Functions to handle the modification and saving of signup pages */
    3022require ( 'bp-xprofile/bp-xprofile-signup.php' );
    31 
    32 /* Template tag functions that can be used in theme template files */
    3323require ( 'bp-xprofile/bp-xprofile-templatetags.php' );
    34 
    35 /* Functions to handle the sending of email notifications */
    3624require ( 'bp-xprofile/bp-xprofile-notifications.php' );
    37 
    38 /* Functions to handle the selective inclusion of CSS and JS files */
    3925require ( 'bp-xprofile/bp-xprofile-cssjs.php' );
    4026
     
    195181        return false;
    196182
     183    require ( 'bp-xprofile/bp-xprofile-admin.php' );
     184   
    197185    /* Add the administration tab under the "Site Admin" tab for site administrators */
    198186    add_submenu_page( 'wpmu-admin.php', __("Profile Fields", 'buddypress'), __("Profile Fields", 'buddypress'), 1, "xprofile_settings", "xprofile_admin" );
Note: See TracChangeset for help on using the changeset viewer.