Changeset 5870
- Timestamp:
- 02/29/2012 11:14:12 PM (13 years ago)
- Location:
- trunk/bp-core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-actions.php
r5868 r5870 75 75 * Attach various template actions to the bp_template_redirect action. 76 76 * The load order helps to execute code at the correct time. 77 * 77 * 78 78 * Note that we currently use template_redirect versus template include because 79 79 * BuddyPress is a bully and overrides the existing themes output in many 80 80 * places. This won't always be this way, we promise. 81 * v---Load order 82 */ 83 add_action( 'bp_template_redirect', 'bp_actions', 2 ); 84 add_action( 'bp_template_redirect', 'bp_screens', 4 ); 81 * v---Load order 82 */ 83 add_action( 'bp_template_redirect', 'bp_redirect_canonical', 2 ); 84 add_action( 'bp_template_redirect', 'bp_actions', 4 ); 85 add_action( 'bp_template_redirect', 'bp_screens', 6 ); 85 86 86 87 // Load the admin … … 204 205 * 205 206 * @since BuddyPress (1.6) 206 * 207 * 207 208 * @uses do_action() Calls 'bp_head' hook 208 209 */ … … 215 216 * 216 217 * @since BuddyPress (1.6) 217 * 218 * 218 219 * @uses do_action() Calls 'bp_footer' hook 219 220 */ -
trunk/bp-core/bp-core-catchuri.php
r5818 r5870 587 587 } 588 588 } 589 add_action( 'bp_core_pre_load_template', 'bp_redirect_canonical' );590 589 591 590 /**
Note: See TracChangeset
for help on using the changeset viewer.