Changes between Version 5 and Version 6 of Ticket #4454, comment 5
- Timestamp:
- 10/30/2012 10:16:00 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4454, comment 5
v5 v6 3 3 This works, but you have to specify the arg. if you just put the specifier it out puts %s. So options are to add a count key to item array for nav items creation or create a new function that is a catch all for tab counts. It's a trivial though. 4 4 5 6 {{{ 5 7 $bp->bp_nav['messages']['name'] = sprintf( 'New name <span>%s</span>' , bp_get_total_unread_messages_count() ) ; 8 }}}