Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/27/2011 02:19:05 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Fix login smart redirect. Fixes #1460, #1459. Props GautamGupta

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-hooks.php

    r2822 r2823  
    258258
    259259// Login/Register/Lost Password
    260 add_filter( 'login_redirect',        'bbp_redirect_login', 2, 3 );
    261 add_filter( 'login_url',             'bbp_login_url',      2, 2 );
    262 add_filter( 'logout_url',            'bbp_logout_url',     2, 2 );
     260add_filter( 'login_redirect', 'bbp_redirect_login', 2, 3 );
     261add_filter( 'login_url',      'bbp_login_url',      2, 2 );
     262add_filter( 'logout_url',     'bbp_logout_url',     2, 2 );
    263263
    264264// Fix post author id for anonymous posts (set it back to 0) when the post status is changed
    265 add_filter( 'wp_insert_post_data',   'bbp_fix_post_author', 30, 2 );
     265add_filter( 'wp_insert_post_data', 'bbp_fix_post_author', 30, 2 );
    266266
    267267/**
Note: See TracChangeset for help on using the changeset viewer.