Changeset 1324440
- Timestamp:
- 01/09/2016 04:34:54 AM (10 years ago)
- Location:
- tuxedo-big-file-uploads
- Files:
-
- 3 edited
- 5 copied
-
tags/1.0.1 (copied) (copied from tuxedo-big-file-uploads/trunk)
-
tags/1.0.1/readme.txt (copied) (copied from tuxedo-big-file-uploads/trunk/readme.txt) (2 diffs)
-
tags/1.0.1/tux_handle_upload.php (copied) (copied from tuxedo-big-file-uploads/trunk/tux_handle_upload.php) (1 diff)
-
tags/1.0.1/tuxedo_big_file_uploads.php (copied) (copied from tuxedo-big-file-uploads/trunk/tuxedo_big_file_uploads.php) (2 diffs)
-
tags/1.0.1/uninstall.php (copied) (copied from tuxedo-big-file-uploads/trunk/uninstall.php)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/tux_handle_upload.php (modified) (1 diff)
-
trunk/tuxedo_big_file_uploads.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tuxedo-big-file-uploads/tags/1.0.1/readme.txt
r1323828 r1324440 4 4 Requires at least: 3.4 5 5 Tested up to: 4.4.1 6 Stable tag: 1.0 6 Stable tag: 1.0.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 48 48 == Changelog == 49 49 50 = 1.0.1 = 51 * Added fallback if the file info extension is missing. 52 50 53 = 1.0 = 51 54 * Initial release. -
tuxedo-big-file-uploads/tags/1.0.1/tux_handle_upload.php
r1323828 r1324440 29 29 function mime_content_type( $filename ) { 30 30 31 $finfo = finfo_open( FILEINFO_MIME ); 32 $mimetype = finfo_file( $finfo, $filename ); 33 finfo_close( $finfo ); 34 return $mimetype; 31 if ( function_exists( 'finfo_open' ) ) { 32 $finfo = finfo_open( FILEINFO_MIME ); 33 $mimetype = finfo_file( $finfo, $filename ); 34 finfo_close( $finfo ); 35 return $mimetype; 36 } else { 37 ob_start(); 38 system( 'file -i -b ' . $filename ); 39 $output = ob_get_clean(); 40 $output = explode( '; ', $output ); 41 if ( is_array( $output ) ) { 42 $output = $output[0]; 43 } 44 return $output; 45 } 35 46 36 47 } -
tuxedo-big-file-uploads/tags/1.0.1/tuxedo_big_file_uploads.php
r1323828 r1324440 4 4 * Plugin URI: https://github.com/andtrev/Tuxedo-Big-File-Uploads 5 5 * Description: Enables large file uploads in the built-in WordPress media uploader. 6 * Version: 1.0 6 * Version: 1.0.1 7 7 * Author: Trevor Anderson 8 8 * Author URI: https://github.com/andtrev … … 26 26 * 27 27 * @package TuxedoBigFileUploads 28 * @version 1.0. 028 * @version 1.0.1 29 29 */ 30 30 -
tuxedo-big-file-uploads/trunk/readme.txt
r1323828 r1324440 4 4 Requires at least: 3.4 5 5 Tested up to: 4.4.1 6 Stable tag: 1.0 6 Stable tag: 1.0.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 48 48 == Changelog == 49 49 50 = 1.0.1 = 51 * Added fallback if the file info extension is missing. 52 50 53 = 1.0 = 51 54 * Initial release. -
tuxedo-big-file-uploads/trunk/tux_handle_upload.php
r1323828 r1324440 29 29 function mime_content_type( $filename ) { 30 30 31 $finfo = finfo_open( FILEINFO_MIME ); 32 $mimetype = finfo_file( $finfo, $filename ); 33 finfo_close( $finfo ); 34 return $mimetype; 31 if ( function_exists( 'finfo_open' ) ) { 32 $finfo = finfo_open( FILEINFO_MIME ); 33 $mimetype = finfo_file( $finfo, $filename ); 34 finfo_close( $finfo ); 35 return $mimetype; 36 } else { 37 ob_start(); 38 system( 'file -i -b ' . $filename ); 39 $output = ob_get_clean(); 40 $output = explode( '; ', $output ); 41 if ( is_array( $output ) ) { 42 $output = $output[0]; 43 } 44 return $output; 45 } 35 46 36 47 } -
tuxedo-big-file-uploads/trunk/tuxedo_big_file_uploads.php
r1323828 r1324440 4 4 * Plugin URI: https://github.com/andtrev/Tuxedo-Big-File-Uploads 5 5 * Description: Enables large file uploads in the built-in WordPress media uploader. 6 * Version: 1.0 6 * Version: 1.0.1 7 7 * Author: Trevor Anderson 8 8 * Author URI: https://github.com/andtrev … … 26 26 * 27 27 * @package TuxedoBigFileUploads 28 * @version 1.0. 028 * @version 1.0.1 29 29 */ 30 30
Note: See TracChangeset
for help on using the changeset viewer.