WordPress.org

Make WordPress Core

Changeset 11328


Ignore:
Timestamp:
05/14/09 16:11:01 (6 years ago)
Author:
ryan
Message:

urlencode login redirect. Props Viper007Bond. fixes #9817

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r11323 r11328  
    188188 
    189189    if ( !empty($redirect) ) { 
    190         $login_url = add_query_arg('redirect_to', $redirect, $login_url); 
     190        $login_url = add_query_arg('redirect_to', urlencode($redirect), $login_url); 
    191191    } 
    192192 
Note: See TracChangeset for help on using the changeset viewer.