Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/18/2011 08:35:34 AM (15 years ago)
Author:
johnjamesjacoby
Message:

Introduce lost password page. Introduce user_login and user_lost_pass template parts. Introduce supporting login and smart login redirect functions. Normalize submit containers across template forms. (@todo: register, activation, and lost password pages)

File:
1 edited

Legend:

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

    r2806 r2815  
    253253
    254254// Canonical
    255 add_filter( 'redirect_canonical', 'bbp_redirect_canonical' );
     255add_filter( 'redirect_canonical',    'bbp_redirect_canonical' );
     256
     257// Login/Register/Lost Password
     258add_filter( 'login_redirect',        'bbp_redirect_login', 2, 3 );
     259add_filter( 'login_url',             'bbp_login_url',      2, 2 );
     260add_filter( 'logout_url',            'bbp_logout_url',     2, 2 );
    256261
    257262// 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 );
     263add_filter( 'wp_insert_post_data',   'bbp_fix_post_author', 30, 2 );
    259264
    260265/**
Note: See TracChangeset for help on using the changeset viewer.