Skip to:
Content

BuddyPress.org

Changes between Initial Version and Version 1 of Ticket #9089


Ignore:
Timestamp:
02/08/2024 11:47:50 PM (5 months ago)
Author:
r-a-y
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9089 – Description

    initial v1  
    11Ran into an issue in BuddyPress 12 where the `'bp_parse_query'` hook was running more than once during AJAX requests.
    22
    3 The issue is in the `bp_parse_ajax_referer_query()` function. If another piece of code runs a `WP_Query` on a BuddyPress AJAX action, then the `'parse_query' hook will run, which would lead to the 'bp_parse_query'` hook firing again.
     3The issue is in the `bp_parse_ajax_referer_query()` function. If another piece of code runs a `WP_Query` on a BuddyPress AJAX action, then the `'parse_query'` hook will run, which would lead to the `'bp_parse_query'` hook firing again.
    44
    55I've attached a fix so we will remove subsequent calls to `bp_parse_ajax_referer_query()`.