Skip to:
Content

BuddyPress.org

Changeset 13735


Ignore:
Timestamp:
02/22/2024 08:37:12 PM (5 months ago)
Author:
imath
Message:

Make sure the bp_parse_query hook is only fired once when doing Ajax

Props r-a-y

See #9089

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-template-loader.php

    r13718 r13735  
    620620    }
    621621
     622    // Prevent doing this again.
     623    remove_action( 'parse_query', 'bp_parse_ajax_referer_query', 2 );
     624
    622625    /**
    623626     * Fires at the end of the bp_parse_ajax_referer_query function.
Note: See TracChangeset for help on using the changeset viewer.