Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/12/2011 06:18:33 PM (13 years ago)
Author:
djpaul
Message:

Move unused deprecated function to the graveyard. See #3264.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/deprecated/1.5.php

    r4966 r4969  
    368368    }
    369369
     370/**
     371 * Last used by core in BP 1.1. The markup was merged into DTheme's header.php template.
     372 */
     373function bp_search_form() {
     374    _deprecated_function( __FUNCTION__, '1.1', 'No longer required.' );
     375
     376    $form = '
     377        <form action="' . bp_search_form_action() . '" method="post" id="search-form">
     378            <input type="text" id="search-terms" name="search-terms" value="" />
     379            ' . bp_search_form_type_select() . '
     380
     381            <input type="submit" name="search-submit" id="search-submit" value="' . __( 'Search', 'buddypress' ) . '" />
     382            ' . wp_nonce_field( 'bp_search_form' ) . '
     383        </form>
     384    ';
     385
     386    echo apply_filters( 'bp_search_form', $form );
     387}
     388
    370389/** Theme *********************************************************************/
    371390
Note: See TracChangeset for help on using the changeset viewer.