Skip to content

Commit

Permalink
accidentally deleted (#124)
Browse files Browse the repository at this point in the history
Fixed typo in code deleted when addressing #102
  • Loading branch information
afragen authored Nov 4, 2024
1 parent 46cd8f1 commit 0951af0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-admin-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public function reset_admin_notice() {
isset( $_GET['reset-success-nonce'] ) &&
wp_verify_nonce( sanitize_key( $_GET['reset-success-nonce'] ), 'aspireupdate-reset-success-nonce' )
) {
echo '<div class="notice notice-success is-dismissible"><p>Settings have been reset to default.</p></div>';
echo '<div class="notice notice-success is-dismissible"><p>' . esc_html__( 'Settings have been reset to default.', 'AspireUpdate' ) . '.</p></div>';
delete_site_option( 'aspireupdate-reset' );
}
}
Expand Down

0 comments on commit 0951af0

Please sign in to comment.