download attribute added
This commit is contained in:
parent
93950adf38
commit
c8c31a268f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue