Changeset 4107 for trunk/bp-blogs/bp-blogs-widgets.php
- Timestamp:
- 03/11/2011 06:02:47 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-blogs/bp-blogs-widgets.php
r3300 r4107 7 7 8 8 function bp_blogs_register_widgets() { 9 global $ current_blog, $bp;9 global $wpdb, $bp; 10 10 11 if ( bp_is_active( 'activity' ) && (int)$ current_blog->blog_id == BP_ROOT_BLOG )11 if ( bp_is_active( 'activity' ) && (int)$wpdb->blogid == BP_ROOT_BLOG ) 12 12 add_action('widgets_init', create_function('', 'return register_widget("BP_Blogs_Recent_Posts_Widget");') ); 13 13 }
Note: See TracChangeset
for help on using the changeset viewer.