Changeset 926774
- Timestamp:
- 06/04/2014 09:17:58 PM (12 years ago)
- Location:
- simple-301-redirects-addon-bulk-uploader
- Files:
-
- 4 added
- 2 edited
-
tags/1.0.11 (added)
-
tags/1.0.11/301-example.csv (added)
-
tags/1.0.11/readme.txt (added)
-
tags/1.0.11/simple-301-bulk-uploader.php (added)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/simple-301-bulk-uploader.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-301-redirects-addon-bulk-uploader/trunk/readme.txt
r903909 r926774 4 4 Tags: simple 301 redirects, bulk upload, csv, 301, redirects 5 5 Requires at least: 3.0.1 6 Tested up to: 3. 8.17 Stable tag: 1.0.1 06 Tested up to: 3.9.1 7 Stable tag: 1.0.11 8 8 License: GPLv2 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 69 69 == Changelog == 70 70 71 = 1.0.11 = 72 * Addition of another mime type 73 * Addition of some error code to help determine mime type issues 74 71 75 = 1.0.10 = 72 76 * Addition of another mime type found in Firefox … … 104 108 == Upgrade Notice == 105 109 110 = 1.0.11 = 111 * Addition of another mime type 112 * Addition of some error code to help determine mime type issues 113 106 114 = 1.0.10 = 107 115 * Addition of another mime type found in Firefox -
simple-301-redirects-addon-bulk-uploader/trunk/simple-301-bulk-uploader.php
r903909 r926774 109 109 'application/octet-stream', 110 110 'application/data', 111 'application/x-csv', 111 112 'application/txt', 112 113 'text/anytext', … … 151 152 else 152 153 { 153 $report .= "Invalid file. Use the below for debugging and when asking for support.<br /><br />"; 154 $report .= "File: ".print_r($data, 1); 154 $report .= "<strong>Invalid file</strong>. Use the below for debugging and when asking for support.<br /><br />"; 155 $report .= "<strong>File</strong>: ".print_r($data, 1); 156 if (!in_array($data["type"], $mime_types)) 157 { 158 $report .= "<br /><br /><strong>Approved Mime Types</strong>:<br />"; 159 foreach ($mime_types as $mtype) 160 $report .= $mtype."<br />"; 161 $report .= "<br />If you are certain that your filetype should be in this list, please let us know on the <a href='http://wordpress.org/support/plugin/simple-301-redirects-addon-bulk-uploader' target='_blank'>forums</a>."; 162 } 155 163 } 156 164
Note: See TracChangeset
for help on using the changeset viewer.