Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
74934063cc
Binary file not shown.
File diff suppressed because it is too large
Load Diff
|
@ -999,13 +999,13 @@ class woocommerce {
|
|||
*/
|
||||
function redirect( $location, $status ) {
|
||||
global $is_IIS;
|
||||
|
||||
// IIS fix
|
||||
if ($is_IIS) session_write_close();
|
||||
|
||||
|
||||
$_SESSION['errors'] = $this->errors;
|
||||
$_SESSION['messages'] = $this->messages;
|
||||
|
||||
// IIS fix
|
||||
if ($is_IIS) session_write_close();
|
||||
|
||||
return $location;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue