Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 14 years ago

#1788 closed defect (bug) (wontfix)

empty tag in bp-message rev 2568

Reported by: chouf1's profile chouf1 Owned by:
Milestone: 1.2.4 Priority: minor
Severity: Version:
Component: Core Keywords:
Cc:

Description

in bp-message.php:106
there is a empty strong tag

if ( $count = messages_get_unread_count() )

$name = sprintf( ('Messages <strong>(%s)</strong>', 'buddypress'), $count );

else

$name = ('Messages <strong></strong>', 'buddypress');

Change History (3)

#1 @windhamdavid
15 years ago

i belive it's intended to be empty so that no messages are displayed if messages_get_unread_count() is null.

#2 @johnjamesjacoby
14 years ago

  • Component set to Core
  • Milestone set to 1.2.4

#3 @johnjamesjacoby
14 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

windhamdavid is correct. It's also put in place so AJAX can change the contents that are inside the strong element when marking items read/unread.

Note: See TracTickets for help on using tickets.