download attribute added

This commit is contained in:
bastianonm 2016-05-18 12:19:43 +00:00
parent 93950adf38
commit c8c31a268f
1 changed files with 1 additions and 1 deletions

View File

@ -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;