| @@ -87,8 +87,11 @@ | ||
| 87 | 87 | // Update the firewall status. |
| 88 | 88 | if ( ! empty( $token ) ) { |
| 89 | 89 | $this->plugin->api->update_firewall_status( array( 'status' => $this->get_option( 'patchstack_basic_firewall' ) == 1 ) ); |
| 90 | 90 | } |
| 91 | + | |
| 92 | + // Update the custom whitelist. | |
| 93 | + update_option( 'patchstack_custom_whitelist_rules', $this->get_option( 'patchstack_whitelist' ) ); | |
| 91 | 94 | } |
| 92 | 95 | } |
| 93 | 96 | |
| 94 | 97 | /** |