[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
Sat Aug 21 20:27:31 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:  ajax
---------------------+------------------------------------------------------
 `site_url( 'wp-load.php' )` does not load any of WordPress' AJAX
 functionality and breaks anything relying on ajaxurl does not set it
 later. Correct URL should be `admin_url( 'admin-ajax.php' )`.

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


More information about the buddypress-trac mailing list