We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 505f67b + c8c8936 commit f3e3042Copy full SHA for f3e3042
templates/admin-header.php
@@ -111,7 +111,7 @@ function td_timestamp( $timestamp, $strikethrough_past = false ) {
111
<hr class="wp-header-end">
112
<?php
113
if ( isset( $_GET['success'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
114
- $success = santize_text_field( wp_unslash( $_GET['success'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended,WordPress.Security.ValidatedSanitizedInput.InputNotSanitized
+ $success = sanitize_text_field( wp_unslash( $_GET['success'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
115
?>
116
<div class="notice notice-success is-dismissible"><p><?php echo esc_html( $success ); ?></p></div>
117
0 commit comments