Ticket #6207: 6207-01.patch
File 6207-01.patch, 801 bytes (added by , 10 years ago) |
---|
-
src/bp-blogs/bp-blogs-loader.php
153 153 } 154 154 155 155 // Add 'Sites' to the main navigation 156 $count = (int)bp_get_total_blog_count_for_user(); 157 $class = ( 0 === $count )? 'no-count' : 'count'; 156 158 $main_nav = array( 157 'name' => sprintf( __( 'Sites <span >%d</span>', 'buddypress' ), bp_get_total_blog_count_for_user()),159 'name' => sprintf( __( 'Sites <span class="%s">%s</span>', 'buddypress' ), $class, number_format_i18n($count) ), 158 160 'slug' => $this->slug, 159 161 'position' => 30, 160 162 'screen_function' => 'bp_blogs_screen_my_blogs',