Skip to content

Commit c000a19

Browse files
ukillaiodic
authored andcommitted
Secure session cookies with is_ssl()
1 parent f881768 commit c000a19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/class-facebookwordpressopenbridge.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ private static function start_new_php_session_if_needed() {
9494
return;
9595
}
9696

97-
$secure = false;
97+
$secure = is_ssl();
9898
$httponly = true;
9999
$samesite = 'lax';
100100
$maxlifetime = 7776000;

0 commit comments

Comments
 (0)