Skip to:
Content

BuddyPress.org

Changeset 6816


Ignore:
Timestamp:
02/23/2013 04:05:56 PM (11 years ago)
Author:
boonebgorges
Message:

Improve syntax in members/single/messages/messages-loop.php

Including the close quotes in the scope of a conditional resulted in valid
markup, but created problems with some syntax highlighting software.

Fixes #4842

Props MacPresss

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php

    r6284 r6816  
    2222        <?php while ( bp_message_threads() ) : bp_message_thread(); ?>
    2323
    24             <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; ?>>
     24            <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; ?>">
    2525                <td width="1%" class="thread-count">
    2626                    <span class="unread-count"><?php bp_message_thread_unread_count(); ?></span>
  • trunk/bp-themes/bp-default/members/single/messages/messages-loop.php

    r5822 r6816  
    2222        <?php while ( bp_message_threads() ) : bp_message_thread(); ?>
    2323
    24             <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; ?>>
     24            <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; ?>">
    2525                <td width="1%" class="thread-count">
    2626                    <span class="unread-count"><?php bp_message_thread_unread_count(); ?></span>
Note: See TracChangeset for help on using the changeset viewer.