equal
deleted
inserted
replaced
16 // Flash often fails to send cookies with the POST or upload, so we need to pass it in GET or POST instead |
16 // Flash often fails to send cookies with the POST or upload, so we need to pass it in GET or POST instead |
17 if ( is_ssl() && empty($_COOKIE[SECURE_AUTH_COOKIE]) && !empty($_REQUEST['auth_cookie']) ) |
17 if ( is_ssl() && empty($_COOKIE[SECURE_AUTH_COOKIE]) && !empty($_REQUEST['auth_cookie']) ) |
18 $_COOKIE[SECURE_AUTH_COOKIE] = $_REQUEST['auth_cookie']; |
18 $_COOKIE[SECURE_AUTH_COOKIE] = $_REQUEST['auth_cookie']; |
19 elseif ( empty($_COOKIE[AUTH_COOKIE]) && !empty($_REQUEST['auth_cookie']) ) |
19 elseif ( empty($_COOKIE[AUTH_COOKIE]) && !empty($_REQUEST['auth_cookie']) ) |
20 $_COOKIE[AUTH_COOKIE] = $_REQUEST['auth_cookie']; |
20 $_COOKIE[AUTH_COOKIE] = $_REQUEST['auth_cookie']; |
|
21 if ( empty($_COOKIE[LOGGED_IN_COOKIE]) && !empty($_REQUEST['logged_in_cookie']) ) |
|
22 $_COOKIE[LOGGED_IN_COOKIE] = $_REQUEST['logged_in_cookie']; |
21 unset($current_user); |
23 unset($current_user); |
22 require_once('admin.php'); |
24 require_once('admin.php'); |
23 |
25 |
24 header('Content-Type: text/plain; charset=' . get_option('blog_charset')); |
26 header('Content-Type: text/plain; charset=' . get_option('blog_charset')); |
25 |
27 |