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
|
@ -1000,12 +1000,12 @@ class woocommerce {
|
||||||
function redirect( $location, $status ) {
|
function redirect( $location, $status ) {
|
||||||
global $is_IIS;
|
global $is_IIS;
|
||||||
|
|
||||||
// IIS fix
|
|
||||||
if ($is_IIS) session_write_close();
|
|
||||||
|
|
||||||
$_SESSION['errors'] = $this->errors;
|
$_SESSION['errors'] = $this->errors;
|
||||||
$_SESSION['messages'] = $this->messages;
|
$_SESSION['messages'] = $this->messages;
|
||||||
|
|
||||||
|
// IIS fix
|
||||||
|
if ($is_IIS) session_write_close();
|
||||||
|
|
||||||
return $location;
|
return $location;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue