Changeset 8190 for trunk/wp-admin/async-upload.php
- Timestamp:
- 06/24/2008 10:19:27 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/async-upload.php
r8023 r8190 11 11 12 12 // Flash often fails to send cookies with the POST or upload, so we need to pass it in GET or POST instead 13 if ( empty($_COOKIE[AUTH_COOKIE]) && !empty($_REQUEST['auth_cookie']) ) 13 if ( is_ssl() && empty($_COOKIE[SECURE_AUTH_COOKIE]) && !empty($_REQUEST['auth_cookie']) ) 14 $_COOKIE[SECURE_AUTH_COOKIE] = $_REQUEST['auth_cookie']; 15 elseif ( empty($_COOKIE[AUTH_COOKIE]) && !empty($_REQUEST['auth_cookie']) ) 14 16 $_COOKIE[AUTH_COOKIE] = $_REQUEST['auth_cookie']; 15 17 unset($current_user);
Note: See TracChangeset
for help on using the changeset viewer.