Plugin Directory

Changeset 926774


Ignore:
Timestamp:
06/04/2014 09:17:58 PM (12 years ago)
Author:
ashdurham
Message:
  • Addition of another mime type
  • Addition of some error code to help determine mime type issues
Location:
simple-301-redirects-addon-bulk-uploader
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • simple-301-redirects-addon-bulk-uploader/trunk/readme.txt

    r903909 r926774  
    44Tags: simple 301 redirects, bulk upload, csv, 301, redirects
    55Requires at least: 3.0.1
    6 Tested up to: 3.8.1
    7 Stable tag: 1.0.10
     6Tested up to: 3.9.1
     7Stable tag: 1.0.11
    88License: GPLv2
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6969== Changelog ==
    7070
     71= 1.0.11 =
     72* Addition of another mime type
     73* Addition of some error code to help determine mime type issues
     74
    7175= 1.0.10 =
    7276* Addition of another mime type found in Firefox
     
    104108== Upgrade Notice ==
    105109
     110= 1.0.11 =
     111* Addition of another mime type
     112* Addition of some error code to help determine mime type issues
     113
    106114= 1.0.10 =
    107115* Addition of another mime type found in Firefox
  • simple-301-redirects-addon-bulk-uploader/trunk/simple-301-bulk-uploader.php

    r903909 r926774  
    109109                    'application/octet-stream',
    110110                    'application/data',
     111                    'application/x-csv',
    111112                    'application/txt',
    112113                    'text/anytext',
     
    151152                else
    152153                  {
    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                    }
    155163                  }
    156164                 
Note: See TracChangeset for help on using the changeset viewer.