Changeset 2141308
- Timestamp:
- 08/18/2019 06:41:32 AM (7 years ago)
- Location:
- better-file-download/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (3 diffs)
-
better-file-download.php (modified) (1 diff)
-
public/partials/better-file-download-public-box-display.php (modified) (3 diffs)
-
public/partials/better-file-download-public-taxonomy-box-display.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
better-file-download/trunk/README.txt
r2038018 r2141308 4 4 Tags: better file download, file download, downloads, download manager, file upload, file types, file management, publications, albums 5 5 Requires at least: 4.7 6 Tested up to: 5. 16 Tested up to: 5.2 7 7 Requires PHP: 5.3 8 Stable tag: 1.0. 88 Stable tag: 1.0.10 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 134 134 * Added default ordering to category downloads and fixed an issue with forcing the download to open in a new tab. 135 135 136 = 1.0.10 = 137 * Fixed an issue with MP3 files not downloading. Basic security updates. 138 136 139 137 140 == Upgrade Notice == … … 166 169 = 1.0.9 = 167 170 * Added default ordering to category downloads and fixed an issue with forcing the download to open in a new tab. 171 172 = 1.0.10 = 173 * Fixed an issue with MP3 files not downloading. Basic security updates. -
better-file-download/trunk/better-file-download.php
r2027932 r2141308 18 18 * Description: Better File Download allows you to offer various file types for your users to download, track the popularity of your files and present them in a highly configurable way. For detailed instructions and configuration options, please visit the settings link or the Download Settings link in the side bar. 19 19 * 20 * Version: 1.0. 920 * Version: 1.0.10 21 21 * Author: Nik Haddon 22 22 * Author URI: https://nikhaddon.com -
better-file-download/trunk/public/partials/better-file-download-public-box-display.php
r2027932 r2141308 35 35 { 36 36 ?> 37 <a href="<?php echo get_permalink( $bfd_args['id'] ); ?>" title="<?php echo esc_attr( $bfd_title ); ?>" class="bfd-svg-container bfd-single-download-btn" target="_blank" >37 <a download href="<?php echo get_permalink( $bfd_args['id'] ); ?>" title="<?php echo esc_attr( $bfd_title ); ?>" class="bfd-svg-container bfd-single-download-btn" target="_blank" > 38 38 <svg xmlns="http://www.w3.org/2000/svg" width="28" height="30" viewBox="0 0 28 30" version="1.1"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-6.000000, -5.000000)" fill="currentColor"><path d="M26.7 21.7L21.7 21.7 21.7 5 18.3 5 18.3 21.7 13.3 21.7 20 28.3 26.7 21.7 26.7 21.7ZM6.7 31.7L6.7 35 33.3 35 33.3 31.7 6.7 31.7 6.7 31.7Z"/></g></g></svg> 39 39 </a> … … 43 43 { 44 44 ?> 45 <a href="<?php echo get_permalink( $bfd_args['id'] ); ?>" title="<?php echo esc_attr( $bfd_title ); ?>" class="bfd-svg-container bfd-single-download-btn" download>45 <a download href="<?php echo get_permalink( $bfd_args['id'] ); ?>" title="<?php echo esc_attr( $bfd_title ); ?>" class="bfd-svg-container bfd-single-download-btn" download> 46 46 <svg xmlns="http://www.w3.org/2000/svg" width="28" height="30" viewBox="0 0 28 30" version="1.1"><g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g transform="translate(-6.000000, -5.000000)" fill="currentColor"><path d="M26.7 21.7L21.7 21.7 21.7 5 18.3 5 18.3 21.7 13.3 21.7 20 28.3 26.7 21.7 26.7 21.7ZM6.7 31.7L6.7 35 33.3 35 33.3 31.7 6.7 31.7 6.7 31.7Z"/></g></g></svg> 47 47 </a> … … 51 51 </div> 52 52 <div class="bfd-column"> 53 <a href="<?php echo get_permalink( $bfd_args['id'] ); ?>" title="<?php echo esc_attr( $bfd_title ); ?>" class="bfd-download-meta" <?php echo (! empty( $bfd_options['bfd-force-new-tab'] ) ? 'target="_blank"' : 'download' ) ?> >53 <a download href="<?php echo get_permalink( $bfd_args['id'] ); ?>" title="<?php echo esc_attr( $bfd_title ); ?>" class="bfd-download-meta" <?php echo (! empty( $bfd_options['bfd-force-new-tab'] ) ? 'target="_blank"' : 'download' ) ?> > 54 54 <p class="bfd-download-title"><strong><?php _e( $bfd_download->post_title); ?></strong></p> 55 55 <?php -
better-file-download/trunk/public/partials/better-file-download-public-taxonomy-box-display.php
r2027932 r2141308 79 79 $bfd_format .= '<div class="bfd-column">'; 80 80 if ( ! empty( $bfd_options['bfd-force-new-tab'] )) { 81 $bfd_format .= '<a href="%1$s" title="%2$s" class="post-%3$s bfd-download-meta" target="_blank">';81 $bfd_format .= '<a download href="%1$s" title="%2$s" class="post-%3$s bfd-download-meta" target="_blank">'; 82 82 } 83 83 else 84 84 { 85 $bfd_format .= '<a href="%1$s" title="%2$s" class="post-%3$s bfd-download-meta" download>';85 $bfd_format .= '<a download href="%1$s" title="%2$s" class="post-%3$s bfd-download-meta" download>'; 86 86 } 87 87 // $bfd_format .= '<a href="%1$s" title="%2$s" class="post-%3$s bfd-download-meta">';
Note: See TracChangeset
for help on using the changeset viewer.