Skip to:
Content

bbPress.org

Changeset 7259


Ignore:
Timestamp:
06/23/2024 09:24:32 PM (20 months ago)
Author:
johnjamesjacoby
Message:

Templates: remove duplicate div from content-archive-topic.php.

This change removes an unnecessary bbp_allow_search() call – as well as an extra div.bbp-search-form – from the Topic Archive template part.

Fixes #3486.

Props naxoc, arafatjamil01.

In branches/2.6, for 2.6.10.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.6/src/templates/default/bbpress/content-archive-topic.php

    r6258 r7259  
    1515<div id="bbpress-forums" class="bbpress-wrapper">
    1616
    17     <?php if ( bbp_allow_search() ) : ?>
    18 
    19         <div class="bbp-search-form">
    20 
    21             <?php bbp_get_template_part( 'form', 'search' ); ?>
    22 
    23         </div>
    24 
    25     <?php endif; ?>
     17    <?php bbp_get_template_part( 'form', 'search' ); ?>
    2618
    2719    <?php bbp_breadcrumb(); ?>
Note: See TracChangeset for help on using the changeset viewer.