Changeset 2815 for branches/plugin/bbp-includes/bbp-hooks.php
- Timestamp:
- 01/18/2011 08:35:34 AM (15 years ago)
- File:
-
- 1 edited
-
branches/plugin/bbp-includes/bbp-hooks.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-hooks.php
r2806 r2815 253 253 254 254 // Canonical 255 add_filter( 'redirect_canonical', 'bbp_redirect_canonical' ); 255 add_filter( 'redirect_canonical', 'bbp_redirect_canonical' ); 256 257 // Login/Register/Lost Password 258 add_filter( 'login_redirect', 'bbp_redirect_login', 2, 3 ); 259 add_filter( 'login_url', 'bbp_login_url', 2, 2 ); 260 add_filter( 'logout_url', 'bbp_logout_url', 2, 2 ); 256 261 257 262 // Fix post author id for anonymous posts (set it back to 0) when the post status is changed 258 add_filter( 'wp_insert_post_data', 'bbp_fix_post_author', 30, 2 );263 add_filter( 'wp_insert_post_data', 'bbp_fix_post_author', 30, 2 ); 259 264 260 265 /**
Note: See TracChangeset
for help on using the changeset viewer.