[buddypress-trac] [BuddyPress] #3985: Race condition processing Ajax requests.

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Apr 2 18:50:06 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 johnjamesjacoby):

 Replying to [comment:7 MikeLittle]:
 > I do not believe this is the correct solution to this problem. (...)
 > move the ajax processing to the proper admin-ajax.php processing. OR
 failing that, shift it to the 'wp_loaded' action.
 Seems sane to me. BuddyPress core doesn't have proper subactions for the
 ajax requests that it does, mostly because it's heavily theme dependent.
 If we're going to do this, I'd suggest we have a core BuddyPress subaction
 to piggy back the WordPress core ajax action, then audit the bp-default
 ajax actions and hook them onto the new BuddyPress subaction.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3985#comment:8>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list