#4464 closed defect (bug) (fixed)
Widget ajax broken for non-logged-in users
Reported by: | boonebgorges | Owned by: | 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)
Note: See
TracTickets for help on using
tickets.
(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