Skip to content

Commit

Permalink
Merge pull request #182 from akirk/fix-delete-app-fatal
Browse files Browse the repository at this point in the history
Fix fatal when deleting an app
  • Loading branch information
akirk authored Oct 9, 2024
2 parents 505f67b + c8c8936 commit f3e3042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/admin-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function td_timestamp( $timestamp, $strikethrough_past = false ) {
<hr class="wp-header-end">
<?php
if ( isset( $_GET['success'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
$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
?>
<div class="notice notice-success is-dismissible"><p><?php echo esc_html( $success ); ?></p></div>
<?php
Expand Down

0 comments on commit f3e3042

Please sign in to comment.