Skip to content

Commit 331b617

Browse files
Merge pull request #63 from stellarwp/bug/check-if-set
Bug: Check variable before using it.
2 parents da9d6e8 + 3aa8a63 commit 331b617

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/views/optin.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@
5454
</main>
5555
<footer>
5656
<form method="post" action="" data-js="optin-form">
57-
<input type="hidden" name="page" value="<?php echo esc_attr( $_GET['page'] ); // phpcs:ignore WordPress.Security ?>">
5857
<input type="hidden" name="action" value="stellarwp-telemetry">
5958
<?php wp_nonce_field( 'stellarwp-telemetry' ); ?>
6059
<button class="stellarwp-telemetry-btn-primary" data-js="form-submit" type="submit" name="optin-agreed" value="true">

0 commit comments

Comments
 (0)