Skip to:
Content

BuddyPress.org

Changeset 2656 for trunk/bp-messages.php


Ignore:
Timestamp:
02/10/2010 09:13:14 PM (15 years ago)
Author:
apeatling
Message:

Moving BuddyPress registration functions to their own actions. Props jjj

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-messages.php

    r2576 r2656  
    8383    do_action( 'messages_setup_globals' );
    8484}
    85 add_action( 'plugins_loaded', 'messages_setup_globals', 5 );
     85add_action( 'bp_setup_globals', 'messages_setup_globals' );
    8686add_action( 'admin_menu', 'messages_setup_globals', 2 );
    8787
     
    130130    do_action( 'messages_setup_nav' );
    131131}
    132 add_action( 'plugins_loaded', 'messages_setup_nav' );
     132add_action( 'bp_setup_nav', 'messages_setup_nav' );
    133133add_action( 'admin_menu', 'messages_setup_nav' );
    134134
     
    592592
    593593
     594/********************************************************************************
     595 * Caching
     596 *
     597 * Caching functions handle the clearing of cached objects and pages on specific
     598 * actions throughout BuddyPress.
     599 */
     600
    594601// List actions to clear super cached pages on, if super cache is installed
    595602add_action( 'messages_delete_thread', 'bp_core_clear_cache' );
Note: See TracChangeset for help on using the changeset viewer.