Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#4464 closed defect (bug) (fixed)

Widget ajax broken for non-logged-in users

Reported by: boonebgorges's profile boonebgorges Owned by: boonebgorges's profile boonebgorges
Milestone: 1.6.2 Priority: normal
Severity: minor Version: 1.6
Component: Core Keywords:
Cc:

Description

Since switching to admin-ajax.php for ajaxurl in BP 1.6, the distinction between wp_ajax_ and wp_ajax_nopriv_ hooks has become relevant. For most BP core AJAX, this is already taken care of: in the Dashboard, the user is always logged in (so you only need wp_ajax_), and on the front end most stuff is taken care of by bp-default's AJAX handlers, which are hooked to _nopriv_ in the appropriate cases. However, the handlers for the Newest | Active | Popular AJAX in the Groups and Members widget was never changed over.

Fix coming up.

Change History (2)

#1 @boonebgorges
12 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [6261]) Fire widget AJAX handlers on wp_ajax_nopriv_ actions, in addition to wp_ajax_

This ensures that the group and member widget AJAX continues to work for
logged-out users when ajaxurl points to admin-ajax.php.

Fixes #4464

#2 @boonebgorges
12 years ago

(In [6262]) Fire widget AJAX handlers on wp_ajax_nopriv_ actions, in addition to wp_ajax_

This ensures that the group and member widget AJAX continues to work for
logged-out users when ajaxurl points to admin-ajax.php.

Fixes #4464

Note: See TracTickets for help on using tickets.