Changeset 3778 for trunk/bp-blogs/bp-blogs-loader.php
- Timestamp:
- 01/21/2011 12:03:25 AM (15 years ago)
- File:
-
- 1 edited
-
trunk/bp-blogs/bp-blogs-loader.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-blogs/bp-blogs-loader.php
r3763 r3778 45 45 46 46 // Notifications 47 $ bp->blogs->notification_callback = 'bp_blogs_format_notifications';47 $this->notification_callback = 'bp_blogs_format_notifications'; 48 48 49 49 // Register this in the active components array 50 $bp->active_components[$this-> slug] = $this->id;50 $bp->active_components[$this->id] = $this->id; 51 51 52 52 // The default text for the blogs directory search box 53 $bp->default_search_strings[$this-> slug] = __( 'Search Blogs...', 'buddypress' );53 $bp->default_search_strings[$this->id] = __( 'Search Blogs...', 'buddypress' ); 54 54 } 55 55 … … 89 89 bp_core_new_nav_item( array( 90 90 'name' => sprintf( __( 'Blogs <span>(%d)</span>', 'buddypress' ), bp_blogs_total_blogs_for_user() ), 91 'slug' => $ bp->blogs->slug,91 'slug' => $this->slug, 92 92 'position' => 30, 93 93 'screen_function' => 'bp_blogs_screen_my_blogs', 94 94 'default_subnav_slug' => 'my-blogs', 95 'item_css_id' => $ bp->blogs->id95 'item_css_id' => $this->id 96 96 ) ); 97 97
Note: See TracChangeset
for help on using the changeset viewer.