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

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Apr 19 14:13:27 UTC 2012


#3985: Race condition processing Ajax requests.
----------------------------------------+-----------------------
 Reporter:  gary_mazz                   |       Owner:  DJPaul
     Type:  defect (bug)                |      Status:  assigned
 Priority:  normal                      |   Milestone:  1.6
Component:  Core                        |     Version:  1.5.3
 Severity:  major                       |  Resolution:
 Keywords:  dev-feedback needs-testing  |
----------------------------------------+-----------------------

Comment (by boonebgorges):

 > Maybe put this helper function in the 1.6 deprecated file, so people can
 skip loading it by setting $bp->load_deprecated = true ?

 Good idea. I will try to work up a patch today or tomorrow.

 > Do we revert the return handling changes that I made in that patch, or
 keep both in case someday we remove this new function from core?

 Keep them. Your way is the "right" way - server-side callbacks should be
 responsible for killing PHP output on their own. That's how WP does it;
 see (in trunk) /wp-admin/includes/ajax-actions.php.

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


More information about the buddypress-trac mailing list