Changeset 4381 for trunk/bp-blogs/bp-blogs-loader.php
- Timestamp:
- 05/17/2011 07:25:55 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-blogs/bp-blogs-loader.php
r4281 r4381 102 102 */ 103 103 if ( !is_multisite() ) 104 return; 105 106 // Stop if there is no user displayed 107 if ( empty( $bp->displayed_user->id ) ) 108 return; 104 return false; 109 105 110 106 // Add 'Blogs' to the main navigation 111 $main_nav = array(107 $main_nav = array( 112 108 'name' => sprintf( __( 'Blogs <span>(%d)</span>', 'buddypress' ), bp_blogs_total_blogs_for_user() ), 113 109 'slug' => $this->slug,
Note: See TracChangeset
for help on using the changeset viewer.