id summary reporter owner description type status priority milestone component version severity resolution keywords cc 7254 PHPUnit tests does not call plugin activation hook. DJPaul djpaul "In our PHPUnit bootstrap, we load BuddyPress into the WP env. by including the BuddyPress file directly, hooked to `muplugins_loaded`. This has worked but we have not noticed that it means that the `activate_plugin` hooks (etc) that `activate_plugins()` would usually trigger, aren't called. BuddyPress hooks to the activation function in `bp_activation()` to call `bp_add_options()`, which adds the default values of everything in `bp_get_default_options()` to the options table. This has been masked by the mis-behaviour of `bp_get_default_options()` which currently checks for missing options and adds them to the database, whenever the function's called." defect (bug) closed normal 2.7 Build/Test Tools normal fixed