Skip to content

Commit

Permalink
Fix for xml direct download
Browse files Browse the repository at this point in the history
  • Loading branch information
mlessio committed May 18, 2016
1 parent 0854f59 commit 2971467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-gpx-maps.php
Expand Up @@ -728,7 +728,7 @@ function handle_WP_GPX_Maps_Shortcodes($attr, $content='')
$dummy = ( defined('WP_SITEURL') ) ? WP_SITEURL : get_bloginfo('url');
$gpxurl = $dummy.$gpxurl;
}
$output.="<a href='$gpxurl' target='_new'>".__("Download", "wp-gpx-maps")."</a>";
$output.="<a href='$gpxurl' target='_new' download>".__("Download", "wp-gpx-maps")."</a>";
}

return $output;
Expand Down

0 comments on commit 2971467

Please sign in to comment.