Skip to:
Content

BuddyPress.org

Ticket #4531: 4531.patch

File 4531.patch, 802 bytes (added by slaFFik, 9 years ago)

Add "mark as read/unread" functionality back

  • src/bp-messages/bp-messages-template.php

     
    865865                <option value="all"><?php _ex('All', 'Message dropdown filter', 'buddypress') ?></option>
    866866        </select> &nbsp;
    867867
    868         <?php if ( ! bp_is_current_action( 'sentbox' ) && bp_is_current_action( 'notices' ) ) : ?>
     868        <?php if ( ! bp_is_current_action( 'sentbox' ) && ! bp_is_current_action( 'notices' ) ) : ?>
    869869
    870870                <a href="#" id="mark_as_read"><?php _ex('Mark as Read', 'Message management markup', 'buddypress') ?></a> &nbsp;
    871871                <a href="#" id="mark_as_unread"><?php _ex('Mark as Unread', 'Message management markup', 'buddypress') ?></a> &nbsp;