Skip to content

Commit f3e3042

Browse files
authored
Merge pull request #182 from akirk/fix-delete-app-fatal
Fix fatal when deleting an app
2 parents 505f67b + c8c8936 commit f3e3042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/admin-header.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function td_timestamp( $timestamp, $strikethrough_past = false ) {
111111
<hr class="wp-header-end">
112112
<?php
113113
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
114+
$success = sanitize_text_field( wp_unslash( $_GET['success'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
115115
?>
116116
<div class="notice notice-success is-dismissible"><p><?php echo esc_html( $success ); ?></p></div>
117117
<?php

0 commit comments

Comments
 (0)