[buddypress-trac] [BuddyPress] #2599: bp_core_add_ajax_url_js() generating wrong ajaxurl value

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Oct 28 21:00:00 UTC 2010


#2599: bp_core_add_ajax_url_js() generating wrong ajaxurl value
---------------------+------------------------------------------------------
 Reporter:  Kawauso  |       Owner:                   
     Type:  defect   |      Status:  new              
 Priority:  normal   |   Milestone:  1.3              
Component:  Core     |    Keywords:  reporter-feedback
---------------------+------------------------------------------------------

Comment(by DJPaul):

 Three solutions: 1) Leave as-is as I haven't seen any complaints a JS name
 conflict in the wild before, 2) Rename to bp_ajaxurl, or 3) Switch to
 admin-ajax.php (need to specify a custom 'action' in the POST, which may
 conflict with BP AJAX variable names).

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2599#comment:4>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list