Making WordPress.org


Ignore:
Timestamp:
09/02/2016 12:40:18 AM (8 years ago)
Author:
jmdodd
Message:

Forums Theme: Differentiate between international and support forum search.

Fixes regression introduced in [3918].

See #347.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-forums/page-homepage.php

    r3918 r3926  
    3232            <h3><?php _e( 'Search the Support Forums', 'wporg-forums' ); ?></h3>
    3333            <p><?php _e( 'Enter a few words that describe the problem you&rsquo;re having.', 'wporg-forums' ); ?></p>
    34             <?php bb_base_search_form(); ?>
     34            <?php
     35                if ( bb_is_intl_forum() ) :
     36                    bbp_get_template_part( 'form', 'search' );
     37                else :
     38                    bb_base_search_form();
     39                endif;
     40            ?>
    3541            <h3><?php _e( 'Hot Topics', 'wporg-forums' ); ?></h3>
    3642            <p class="frontpageheatmap">
Note: See TracChangeset for help on using the changeset viewer.