Plugin Directory

Changeset 1076075


Ignore:
Timestamp:
01/26/2015 04:13:56 PM (11 years ago)
Author:
jquindlen
Message:

4.9.33

  • Updated: Added randomized addition to filenames & updated the file upload presentation (now out of beta)
Location:
wpsc-support-tickets
Files:
116 added
2 edited

Legend:

Unmodified
Added
Removed
  • wpsc-support-tickets/trunk/readme.txt

    r1070055 r1076075  
    55Requires at least: 3.5.0
    66Tested up to: 4.2
    7 Stable tag: 4.9.32
     7Stable tag: 4.9.33
    88
    99== Description ==
     
    108108* Updated: Added randomized addition to filenames & updated the file upload presentation (added 4.9.29 if you turn on beta testing)
    109109
     110= 4.9.33 =
     111* Updated: Added randomized addition to filenames & updated the file upload presentation (now out of beta)
     112
    110113= 4.9.32 =
    111114* Updated: Thanks to Ahrale, the Hebrew translation of IDB Support Tickets is now up to date.
  • wpsc-support-tickets/trunk/wpsc-support-tickets.php

    r1070055 r1076075  
    44  Plugin URI: http://indiedevbundle.com/app/idb-ultimate-wordpress-bundle/#idbsupporttickets
    55  Description: An open source help desk and support ticket system for Wordpress using jQuery. Easy to use for both users & admins.
    6   Version: 4.9.32
     6  Version: 4.9.33
    77  Author: IndieDevBundle.com
    88  Author URI: URI: http://indiedevbundle.com/app/idb-ultimate-wordpress-bundle/#idbsupporttickets
     
    25562556
    25572557            // Validate file name (for our purposes we'll just remove invalid characters)
    2558                     if($devOptions['enable_beta_testing']=='true') {
    2559                         $file_name = preg_replace('/[^'.$valid_chars_regex.']|\.+$/i', "", basename(substr(str_shuffle("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, 1).substr(md5(time()),1) . $_FILES[$upload_name]['name']));
    2560                     } else {
    2561                         $file_name = preg_replace('/[^'.$valid_chars_regex.']|\.+$/i', "", basename($_FILES[$upload_name]['name']));
    2562                     }
     2558                    $file_name = preg_replace('/[^'.$valid_chars_regex.']|\.+$/i', "", basename(substr(str_shuffle("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, 1).substr(md5(time()),1) . $_FILES[$upload_name]['name']));
    25632559                   
    25642560                    if (strlen($file_name) == 0 || strlen($file_name) > $MAX_FILENAME_LENGTH) {
     
    28562852
    28572853                    // Validate file name (for our purposes we'll just remove invalid characters)
    2858                             if($devOptions['enable_beta_testing']=='true') {
    2859                                 $file_name = preg_replace('/[^'.$valid_chars_regex.']|\.+$/i', "", basename(substr(str_shuffle("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, 1).substr(md5(time()),1) . $_FILES[$upload_name]['name']));
    2860                             } else {
    2861                                 $file_name = preg_replace('/[^'.$valid_chars_regex.']|\.+$/i', "", basename($_FILES[$upload_name]['name']));
    2862                             }
     2854
     2855                            $file_name = preg_replace('/[^'.$valid_chars_regex.']|\.+$/i', "", basename(substr(str_shuffle("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, 1).substr(md5(time()),1) . $_FILES[$upload_name]['name']));
     2856
    28632857                            if (strlen($file_name) == 0 || strlen($file_name) > $MAX_FILENAME_LENGTH) {
    28642858                                    HandleError(__("Invalid file name", 'wpsc-support-tickets'));
Note: See TracChangeset for help on using the changeset viewer.