Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
07/17/2011 11:57:04 PM (13 years ago)
Author:
djpaul
Message:

Replace parentheses around nav item numbers with spans. Fixes #3340, big props davidtcarson

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-friends/bp-friends-loader.php

    r4647 r4676  
    9595        // Add 'Friends' to the main navigation
    9696        $main_nav = array(
    97             'name'                => sprintf( __( 'Friends <span>(%d)</span>', 'buddypress' ), friends_get_total_friend_count() ),
     97            'name'                => sprintf( __( 'Friends <span>%d</span>', 'buddypress' ), friends_get_total_friend_count() ),
    9898            'slug'                => $this->slug,
    9999            'position'            => 60,
     
    149149            // Pending friend requests
    150150            if ( $count = count( friends_get_friendship_request_user_ids( $bp->loggedin_user->id ) ) ) {
    151                 $title   = sprintf( __( 'Friends <strong>(%s)</strong>',          'buddypress' ), $count );
    152                 $pending = sprintf( __( 'Pending Requests <strong>(%s)</strong>', 'buddypress' ), $count );
     151                $title   = sprintf( __( 'Friends <span>%s</span>',          'buddypress' ), $count );
     152                $pending = sprintf( __( 'Pending Requests <span>%s</span>', 'buddypress' ), $count );
    153153            } else {
    154154                $title   = __( 'Friends',             'buddypress' );
Note: See TracChangeset for help on using the changeset viewer.