Changeset 7758 for trunk/bp-groups/bp-groups-loader.php
- Timestamp:
- 01/26/2014 02:53:22 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-groups/bp-groups-loader.php
r7756 r7758 342 342 343 343 // Add 'Groups' to the main navigation 344 $count = bp_get_total_group_count_for_user(); 345 $class = ( 0 === $count ) ? 'no-count' : 'count'; 344 346 $main_nav = array( 345 'name' => sprintf( __( 'Groups <span >%s</span>', 'buddypress' ), bp_get_total_group_count_for_user() ),347 'name' => sprintf( __( 'Groups <span class="%s">%s</span>', 'buddypress' ), esc_attr( $class ), number_format_i18n( $count ) ), 346 348 'slug' => $this->slug, 347 349 'position' => 70,
Note: See TracChangeset
for help on using the changeset viewer.