Skip to content

Commit

Permalink
remove x-frame-options from cookie system. Wrong location.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevindees committed Aug 2, 2022
1 parent 0f3e597 commit a210cdd
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions config/cookies.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,5 @@
|
*/
'same_site' => 'Lax',

/*
|--------------------------------------------------------------------------
| Timeout Period - Action Scheduler
|--------------------------------------------------------------------------
|
| By default, WordPress adds `X-Frame-Options: SAMEORIGIN`. However, these
| headers are often set by the web server instead. Set this option as
| `false` to disable WordPress' x-frame-options.
|
*/
'x_frame_options' => true,
]
];

0 comments on commit a210cdd

Please sign in to comment.