diff --git a/wp-gpx-maps_admin_tracks.php b/wp-gpx-maps_admin_tracks.php
index ef49469..addceaa 100644
--- a/wp-gpx-maps_admin_tracks.php
+++ b/wp-gpx-maps_admin_tracks.php
@@ -74,9 +74,9 @@
if (preg_match($gpxRegEx, $entry ))
{
- if ( isset($_GET['wpgpxmaps_nonce'])
+ if ( isset($_GET['_wpnonce'])
&&
- wp_verify_nonce( $_GET['wpgpxmaps_nonce'], 'wpgpx_deletefile_nonce_' . $entry )
+ wp_verify_nonce( $_GET['_wpnonce'], 'wpgpx_deletefile_nonce_' . $entry )
) {
if ( file_exists($realGpxPath ."/". $entry) )
@@ -138,7 +138,7 @@
return [
'' + row.name + '
',
- 'Delete',
+ 'Delete',
' | ',
'Download',
' | ',