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-core/deprecated/1.3.php

    r4309 r4532  
    370370    _deprecated_function( __FUNCTION__, '1.3', 'bp_loggedin_user_link' );
    371371    bp_loggedin_user_link();
     372}
     373
     374/**
     375 * Only show the search form if there are available objects to search for.
     376 * Deprecated in 1.3; not used anymore.
     377 *
     378 * @return bool
     379 */
     380function bp_search_form_enabled() {
     381    _deprecated_function( __FUNCTION__, '1.3', 'No longer required.' );
     382    return apply_filters( 'bp_search_form_enabled', true );
    372383}
    373384
Note: See TracChangeset for help on using the changeset viewer.