Changes between Initial Version and Version 1 of Ticket #9089
- Timestamp:
- 02/08/2024 11:47:50 PM (10 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #9089 – Description
initial v1 1 1 Ran into an issue in BuddyPress 12 where the `'bp_parse_query'` hook was running more than once during AJAX requests. 2 2 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.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. 4 4 5 5 I've attached a fix so we will remove subsequent calls to `bp_parse_ajax_referer_query()`.