Skip to:
Content

bbPress.org

Changeset 4826


Ignore:
Timestamp:
03/27/2013 07:04:13 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Move 'bbp_template_redirect' action to priority 8, giving bbPress precedence over network activated plugins hooked to 'template_redirect' at priority 10 (like BuddyPress). Fixes #2225.

File:
1 edited

Legend:

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

    r4808 r4826  
    4949add_action( 'setup_theme',              'bbp_setup_theme',              10    );
    5050add_action( 'after_setup_theme',        'bbp_after_setup_theme',        10    );
    51 add_action( 'template_redirect',        'bbp_template_redirect',        10    );
     51add_action( 'template_redirect',        'bbp_template_redirect',        8     ); // Before BuddyPress's 10 [BB2225]
    5252add_action( 'login_form_login',         'bbp_login_form_login',         10    );
    5353add_action( 'profile_update',           'bbp_profile_update',           10, 2 ); // user_id and old_user_data
Note: See TracChangeset for help on using the changeset viewer.