Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
06/19/2011 02:50:06 PM (14 years ago)
Author:
djpaul
Message:

Deprecate bp_search_form_enabled() as it's not required; you'll always be able to search posts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/header.php

    r4455 r4532  
    2828                    <h1 id="logo" role="banner"><a href="<?php echo home_url(); ?>" title="<?php echo _x( 'Home', 'Home page banner link title', 'buddypress' ); ?>"><?php bp_site_name(); ?></a></h1>
    2929
    30                     <?php if ( bp_search_form_enabled() ) : ?>
    31 
    3230                        <form action="<?php echo bp_search_form_action() ?>" method="post" id="search-form">
    3331                            <label for="search-terms" class="accessibly-hidden"><?php _e( 'Search for:', 'buddypress' ); ?></label>
     
    4139
    4240                        </form><!-- #search-form -->
    43 
    44                     <?php endif; ?>
    4541
    4642                <?php do_action( 'bp_search_login_bar' ) ?>
Note: See TracChangeset for help on using the changeset viewer.