Skip to:
Content

bbPress.org

Changeset 4920


Ignore:
Timestamp:
05/19/2013 05:12:59 AM (12 years ago)
Author:
johnjamesjacoby
Message:

In bbp_is_search_results(), use $wp_query->bbp_search_terms instead of new bbp_is_search_results query-var. See #2337.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/common/template-tags.php

    r4919 r4920  
    828828
    829829    // Check query
    830     if ( !empty( $wp_query->bbp_is_search_results ) && ( true == $wp_query->bbp_is_search_results ) )
     830    if ( !empty( $wp_query->bbp_search_terms ) )
    831831        $retval = true;
    832832
Note: See TracChangeset for help on using the changeset viewer.