| @@ -724,9 +724,9 @@ | ||
| 724 | 724 | */ |
| 725 | 725 | public function execute_active_snippets() { |
| 726 | 726 | |
| 727 | 727 | $blocked = false; |
| 728 | - $page = isset( $_GET["page"] ) ? sanitize_text_field( $_GET["page"] ) : null; | |
| 728 | + $page = isset( $_GET["page"] ) ? sanitize_text_field( $_GET["page"] ) : ''; | |
| 729 | 729 | |
| 730 | 730 | |
| 731 | 731 | if ( $page === 'mwcode_settings' ) { |
| 732 | 732 | // If we blocks global snippets like nonce_life filter, we would block the settings page so let's remove the block for this page |