Race condition processing Ajax requests.
|Reported by:||gary_mazz||Owned by:||DJPaul|
|Component:||Component - Core||Keywords:||dev-feedback needs-testing|
BP ajax requests are triggered with action 'bp_init' in function bp_core_add_ajax_hook(). Plugin initialization triggers at 'bp_init' level 10, but after the ajax request is processed. Any ajax actions and filter are missed due to the early ajax processing.
I have shifted the plugin init to 'bp_init' level 5, seems to fix most the issues
Change History (21)
comment:7 follow-up: ↓ 8 @MikeLittle — 4 years ago
- Cc MikeLittle added
- Resolution fixed deleted
- Status changed from closed to reopened
comment:13 @DJPaul — 3 years ago
- Keywords needs-testing added