[buddypress-trac] [BuddyPress] #4842: Code not valid inside message-loop.php

buddypress-trac noreply at wordpress.org
Wed Feb 20 23:28:09 UTC 2013


#4842: Code not valid inside message-loop.php
-------------------------+-----------------------------
 Reporter:  MacPresss    |      Owner:  BuddyPress ?
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Messaging    |    Version:  1.7
 Severity:  minor        |   Keywords:  has-patch
-------------------------+-----------------------------
 Hello guys,

 This is my first ticket,

 I've found a very tiny error, it's more a typo to be honest..

 Inside messages-loop.php my code-editor shows invalid code coloring at
 line 24, it looks like the double quotes from the 'read' VS 'unread' class
 are not correct.

 Old code.
 {{{
 <tr id="m-<?php bp_message_thread_id(); ?>" class="<?php
 bp_message_css_class(); ?><?php if ( bp_message_thread_has_unread() ) : ?>
 unread"<?php else: ?> read"<?php endif; ?>>
 }}}


 New code - I think this is better..
 {{{
 <tr id="m-<?php bp_message_thread_id(); ?>" class="<?php
 bp_message_css_class(); ?><?php if ( bp_message_thread_has_unread() ) : ?>
 unread<?php else: ?> read<?php endif; ?>">
 }}}


 Screenshot
 [http://oi47.tinypic.com/14ngrj8.jpg]

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4842>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list