Skip to:
Content

bbPress.org

Ticket #3607: template-search-3607.patch

File template-search-3607.patch, 513 bytes (added by GDragoN, 22 months ago)

Fix for the statuses.

  • includes/search/template.php

     
    4747        }
    4848
    4949        // Default public statuses (topics coincidentally cover all post types)
    50         $post_statuses = array_keys( bbp_get_public_topic_statuses() );
     50        $post_statuses = bbp_get_public_topic_statuses();
    5151
    5252        // Add support for private status
    5353        if ( current_user_can( 'read_private_topics' ) ) {