[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 Apr 21 17:26:23 UTC 2012


#2599: bp_core_add_ajax_url_js() generating wrong ajaxurl value
-----------------------------------------+---------------------
 Reporter:  Kawauso                      |       Owner:
     Type:  defect (bug)                 |      Status:  closed
 Priority:  normal                       |   Milestone:  1.6
Component:  Core                         |     Version:
 Severity:  normal                       |  Resolution:  fixed
 Keywords:  needs-testing needs-refresh  |
-----------------------------------------+---------------------
Changes (by djpaul):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 (In [6003]) Resolve problems with load order when handling AJAX requests
 in BuddyPress. Fixes #2599 and #3985, props DJPaul and boonebgorges.

 * Reworks BP-Default's AJAX calls to use correct receiver in WordPress.
 * Hooks BP-Default's AJAX handlers to both 'wp_ajax_nopriv_' and
 'wp_ajax'.
 * Updates associated parts in BP core to support this, and deprecates old
 handling.
 * Renames Activity spam/unspam AJAX actions (new to BP 1.6).
 * Adds full PHPDoc to ajax.php.
 * Code standards pass of ajax.php.
 * Remove unnecessary globals.
 * Backwards compatible with themes based on versions of BP-Default earlier
 1.6.

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


More information about the buddypress-trac mailing list