| @@ -51,9 +51,9 @@ | ||
| 51 | 51 | |
| 52 | 52 | private function verify( $name ): bool { |
| 53 | 53 | $nonce_action = WOW_Plugin::PREFIX . '_nonce'; |
| 54 | 54 | |
| 55 | - return ! ( ! isset( $_REQUEST[ $name ] ) || ! wp_verify_nonce( $_REQUEST[ $name ], $nonce_action ) || ! current_user_can( 'manage_options' ) ); | |
| 55 | + return ! ( ! isset( $_REQUEST[ $name ] ) || ! wp_verify_nonce( $_REQUEST[ $name ], $nonce_action ) || ! current_user_can( 'unfiltered_html' ) ); | |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | private function check_name( $request ) { |
| 59 | 59 | $names = [ |