[buddypress-trac] [BuddyPress] #3985: Race condition processing Ajax requests.
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Wed Feb 8 11:36:32 UTC 2012
#3985: Race condition processing Ajax requests.
--------------------------+-----------------------------
Reporter: gary_mazz | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version: 1.5.3
Severity: major | Keywords: needs-patch
--------------------------+-----------------------------
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.
Workaround:
I have shifted the plugin init to 'bp_init' level 5, seems to fix most the
issues
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3985>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list