Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/23/2012 05:17:21 PM (12 years ago)
Author:
boonebgorges
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-widgets.php

    r6022 r6262  
    325325}
    326326add_action( 'wp_ajax_widget_members', 'bp_core_ajax_widget_members' );
     327add_action( 'wp_ajax_nopriv_widget_members', 'bp_core_ajax_widget_members' );
    327328
    328329?>
Note: See TracChangeset for help on using the changeset viewer.