Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/06/2012 09:40:15 AM (11 years ago)
Author:
johnjamesjacoby
Message:

AJAX:

  • Add 'bbp_do_ajax' action to 'bbp_template_redirect' action.
  • Update AJAX in theme compat to use new AJAX handler hooks.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/core/actions.php

    r4522 r4549  
    270270 * 2. Accessing private or hidden content (forums/topics/replies)
    271271 * 3. Editing forums, topics, replies, users, and tags
     272 * 4. bbPress specific AJAX requests
    272273 */
    273274add_action( 'bbp_template_redirect', 'bbp_forum_enforce_blocked',   -1 );
     
    289290add_action( 'bbp_template_redirect', 'bbp_favorites_handler',       1  );
    290291add_action( 'bbp_template_redirect', 'bbp_subscriptions_handler',   1  );
     292add_action( 'bbp_template_redirect', 'bbp_do_ajax',                 1  );
    291293add_action( 'bbp_template_redirect', 'bbp_check_user_edit',         10 );
    292294add_action( 'bbp_template_redirect', 'bbp_check_forum_edit',        10 );
Note: See TracChangeset for help on using the changeset viewer.