Skip to:
Content

BuddyPress.org

Ticket #3156: 3156.02.patch

File 3156.02.patch, 1.2 KB (added by r-a-y, 14 years ago)

Removes comment about overriding ajax.php in child theme; remove trailing whitespace

  • buddypress/bp-themes/bp-default/_inc/ajax.php

     
    44 *
    55 * All of these functions enhance the responsiveness of the user interface in the default
    66 * theme by adding AJAX functionality.
    7  *
    8  * By default your child theme will inherit this AJAX functionality. You can however create
    9  * your own _inc/ajax.php file and add/remove AJAX functionality as you see fit.
    107 */
    118
    129/***
     
    5350        if ( !empty( $_POST['page'] ) && '-1' != $_POST['page'] )
    5451                $qs[] = 'page=' . $_POST['page'];
    5552
    56         $object_search_text = bp_get_search_default_text( $object ); 
    57         if ( !empty( $_POST['search_terms'] ) && $object_search_text != $_POST['search_terms'] && 'false' != $_POST['search_terms'] && 'undefined' != $_POST['search_terms'] ) 
     53        $object_search_text = bp_get_search_default_text( $object );
     54        if ( !empty( $_POST['search_terms'] ) && $object_search_text != $_POST['search_terms'] && 'false' != $_POST['search_terms'] && 'undefined' != $_POST['search_terms'] )
    5855                $qs[] = 'search_terms=' . $_POST['search_terms'];
    5956
    6057        /* Now pass the querystring to override default values. */