Make WordPress Core


Ignore:
Timestamp:
03/02/2009 11:42:28 PM (16 years ago)
Author:
ryan
Message:

Add auth_redirect action

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/pluggable.php

    r10678 r10685  
    725725
    726726    if ( $user_id = wp_validate_auth_cookie() ) {
     727        do_action('auth_redirect', $user_id);
     728
    727729        // If the user wants ssl but the session is not ssl, redirect.
    728730        if ( !$secure && get_user_option('use_ssl', $user_id) && false !== strpos($_SERVER['REQUEST_URI'], 'wp-admin') ) {
Note: See TracChangeset for help on using the changeset viewer.