Skip to content

Commit

Permalink
Fix user cache not toggling
Browse files Browse the repository at this point in the history
  • Loading branch information
jeawhanlee committed Jul 10, 2023
1 parent 7b77ed4 commit f580c29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inc/Engine/Admin/Settings/Page.php
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ public function toggle_option() {
'sucury_waf_cache_sync' => 1,
'sucury_waf_api_key' => 1,
'cache_webp' => 1,
'user_cache_section' => 1,
];

if ( ! isset( $_POST['option']['name'] ) || ! isset( $allowed[ $_POST['option']['name'] ] ) ) {
Expand Down

0 comments on commit f580c29

Please sign in to comment.