Skip to:
Content

BuddyPress.org

Changeset 4783


Ignore:
Timestamp:
07/22/2011 09:29:16 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Fix updated subnav span style when viewing a private message conversation. See #3241.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-messages/bp-messages-actions.php

    r4266 r4783  
    3939   
    4040    // Decrease the unread count in the nav before it's rendered
    41     if ( $count = messages_get_unread_count() )
    42         $name = sprintf( __( 'Messages <strong>(%s)</strong>', 'buddypress' ), $count );
    43     else
    44         $name = __( 'Messages <strong></strong>', 'buddypress' );
     41    $name = sprintf( __( 'Messages <span>%s</span>', 'buddypress' ), bp_get_total_unread_messages_count() );
    4542   
    4643    $bp->bp_nav[$bp->messages->slug]['name'] = $name;
Note: See TracChangeset for help on using the changeset viewer.