Ticket #1901: root_component_action.diff
File root_component_action.diff, 481 bytes (added by , 15 years ago) |
---|
-
bp-core.php
202 202 bp_core_add_root_component( BP_ACTIVATION_SLUG ); 203 203 bp_core_add_root_component( BP_SEARCH_SLUG ); 204 204 bp_core_add_root_component( BP_HOME_BLOG_SLUG ); 205 206 // allow plugins to register a root component 207 do_action( 'bp_core_setup_root_uris' ); 205 208 } 206 209 add_action( 'plugins_loaded', 'bp_core_setup_root_uris', 2 ); 207 210