[buddypress-trac] [BuddyPress] #3985: Race condition processing Ajax requests.
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Mon Apr 2 21:37:43 UTC 2012
#3985: Race condition processing Ajax requests.
--------------------------+-----------------------
Reporter: gary_mazz | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 1.6
Component: Core | Version: 1.5.3
Severity: major | Resolution:
Keywords: dev-feedback |
--------------------------+-----------------------
Comment (by boonebgorges):
See also #2599.
I don't see any reason off the top of my head why we can't just switch to
admin-ajax.php. Seems like it should just work - since we'll be moving the
hooks to *later* in the load process, it should be totally backward
compatible.
John, are you suggesting a wrapper for WP's `wp_ajax_` logic? I guess the
gain would be that plugin actions hooked to this would not fire if BP were
not installed? If that's the only gain, I guess I would rather not
introduce the overhead (plugins should be loading their BP content on
`bp_loaded` anyway, and in any case there may good reasons why one might
want to hook an AJAX handler that fires even in the absence of BP, and
having our own hook would require conditional hooking in that case)
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3985#comment:11>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list