Skip to:
Content

BuddyPress.org

Changeset 2301


Ignore:
Timestamp:
01/15/2010 11:43:27 AM (15 years ago)
Author:
apeatling
Message:

Using FILE in activation and deactivation registration hooks does not work consistently across setups. Changing to a relative path that does.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-loader.php

    r2240 r2301  
    5959    do_action( 'bp_loader_activate' );
    6060}
    61 register_activation_hook( __FILE__, 'bp_loader_activate' );
     61register_activation_hook( 'buddypress/bp-loader.php', 'bp_loader_activate' );
    6262
    6363/* Deactivation Function */
     
    7777    do_action( 'bp_loader_deactivate' );
    7878}
    79 register_deactivation_hook( __FILE__, 'bp_loader_deactivate' );
     79register_deactivation_hook( 'buddypress/bp-loader.php', 'bp_loader_deactivate' );
    8080
    8181?>
Note: See TracChangeset for help on using the changeset viewer.