Changeset 1718 for trunk/bp-status.php
- Timestamp:
- 08/27/2009 09:18:10 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/bp-status.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-status.php
r1687 r1718 5 5 require ( BP_PLUGIN_DIR . '/bp-status/bp-status-templatetags.php' ); 6 6 require ( BP_PLUGIN_DIR . '/bp-status/bp-status-filters.php' ); 7 8 function bp_status_setup_globals() { 9 global $bp, $wpdb; 10 11 /* For internal identification */ 12 $bp->status->id = 'status'; 13 $bp->status->slug = BP_STATUS_SLUG; 14 15 /* Register this in the active components array */ 16 $bp->active_components[$bp->status->slug] = $bp->status->id; 17 } 18 add_action( 'plugins_loaded', 'bp_status_setup_globals', 5 ); 19 add_action( 'admin_menu', 'bp_status_setup_globals', 1 ); 7 20 8 21 function bp_status_record_activity( $user_id, $content, $primary_link ) {
Note: See TracChangeset
for help on using the changeset viewer.