Plugin Directory

Changeset 1065356


Ignore:
Timestamp:
01/11/2015 07:26:49 PM (11 years ago)
Author:
jquindlen
Message:

4.9.29

  • Added: (Enable beta testing to test this new feature) Added randomized addition to filenames & updated the file upload presentation (added 4.9.29 if you turn on beta testing)
Location:
wpsc-support-tickets
Files:
116 added
3 edited

Legend:

Unmodified
Added
Removed
  • wpsc-support-tickets/trunk/nbproject/private/private.xml

    r1061441 r1065356  
    44    <editor-bookmarks xmlns="http://www.netbeans.org/ns/editor-bookmarks/2" lastBookmarkId="0"/>
    55    <open-files xmlns="http://www.netbeans.org/ns/projectui-open-files/2">
    6         <group>
    7             <file>file:/D:/PORTABLES/EasyPHP-5.3.3/www/wordpress2/wp-content/plugins/wpsc-support-tickets/wpsc-support-tickets.php</file>
    8             <file>file:/D:/PORTABLES/EasyPHP-5.3.3/www/wordpress2/wp-content/plugins/wpsc-support-tickets/readme.txt</file>
    9         </group>
     6        <group/>
    107    </open-files>
    118</project-private>
  • wpsc-support-tickets/trunk/readme.txt

    r1061449 r1065356  
    55Requires at least: 3.5.0
    66Tested up to: 4.2
    7 Stable tag: 4.9.28
     7Stable tag: 4.9.29
    88
    99== Description ==
     
    107107* Added: the ability for users to reply by email
    108108* Added: the ability to search through ticket content (backend always, frontend on public guest enabled blogs.)
    109 * Updated: Added randomized addition to filenames & updated the file upload presentation
     109* Updated: Added randomized addition to filenames & updated the file upload presentation (added 4.9.29 if you turn on beta testing)
     110
     111= 4.9.29 =
     112* Added: (Enable beta testing to test this new feature) Added randomized addition to filenames & updated the file upload presentation (added 4.9.29 if you turn on beta testing)
    110113
    111114= 4.9.28 =
  • wpsc-support-tickets/trunk/wpsc-support-tickets.php

    r1061449 r1065356  
    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.28
     6  Version: 4.9.29
    77  Author: IndieDevBundle.com
    88  Author URI: URI: http://indiedevbundle.com/app/idb-ultimate-wordpress-bundle/#idbsupporttickets
     
    25312531
    25322532            // Validate file name (for our purposes we'll just remove invalid characters)
    2533                     $file_name = preg_replace('/[^'.$valid_chars_regex.']|\.+$/i', "", basename($_FILES[$upload_name]['name']));
     2533                    if($devOptions['enable_beta_testing']=='true') {
     2534                        $file_name = preg_replace('/[^'.$valid_chars_regex.']|\.+$/i', "", basename(substr(str_shuffle("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, 1).substr(md5(time()),1) . $_FILES[$upload_name]['name']));
     2535                    } else {
     2536                        $file_name = preg_replace('/[^'.$valid_chars_regex.']|\.+$/i', "", basename($_FILES[$upload_name]['name']));
     2537                    }
     2538                   
    25342539                    if (strlen($file_name) == 0 || strlen($file_name) > $MAX_FILENAME_LENGTH) {
    25352540                            HandleError(__("Invalid file name", 'wpsc-support-tickets'));
     
    28262831
    28272832                    // Validate file name (for our purposes we'll just remove invalid characters)
    2828                             $file_name = preg_replace('/[^'.$valid_chars_regex.']|\.+$/i', "", basename($_FILES[$upload_name]['name']));
     2833                            if($devOptions['enable_beta_testing']=='true') {
     2834                                $file_name = preg_replace('/[^'.$valid_chars_regex.']|\.+$/i', "", basename(substr(str_shuffle("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, 1).substr(md5(time()),1) . $_FILES[$upload_name]['name']));
     2835                            } else {
     2836                                $file_name = preg_replace('/[^'.$valid_chars_regex.']|\.+$/i', "", basename($_FILES[$upload_name]['name']));
     2837                            }
    28292838                            if (strlen($file_name) == 0 || strlen($file_name) > $MAX_FILENAME_LENGTH) {
    28302839                                    HandleError(__("Invalid file name", 'wpsc-support-tickets'));
Note: See TracChangeset for help on using the changeset viewer.