Skip to:
Content

BuddyPress.org

Ticket #7809: 7809.patch

File 7809.patch, 709 bytes (added by imath, 7 years ago)
  • src/bp-templates/bp-nouveau/includes/messages/ajax.php

    diff --git src/bp-templates/bp-nouveau/includes/messages/ajax.php src/bp-templates/bp-nouveau/includes/messages/ajax.php
    index c66c40ba6..c7bf9ab02 100644
    function bp_nouveau_ajax_get_user_message_threads() { 
    207207        if ( isset( $_POST['box'] ) && 'starred' === $_POST['box'] ) {
    208208                $star_filter = true;
    209209
     210                // Include the file containing the filter
     211                require buddypress()->messages->path . 'bp-messages/screens/starred.php';
     212
    210213                // Add the message thread filter.
    211214                add_filter( 'bp_after_has_message_threads_parse_args', 'bp_messages_filter_starred_message_threads' );
    212215        }