Changeset 988003
- Timestamp:
- 09/12/2014 07:21:49 AM (12 years ago)
- Location:
- work-the-flow-file-upload/trunk
- Files:
-
- 4 edited
-
README.txt (modified) (3 diffs)
-
includes/wtf-fu-common-utils.php (modified) (2 diffs)
-
public/class-wtf-fu.php (modified) (1 diff)
-
work-the-flow-file-upload.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
work-the-flow-file-upload/trunk/README.txt
r984253 r988003 5 5 Requires at least: 3.5.1 6 6 Tested up to: 4.0 7 Stable tag: 2.4. 07 Stable tag: 2.4.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 325 325 326 326 == Changelog == 327 = 2.4.1 = 328 * Fix for generated .htaccess file preventing image display on some servers. 329 327 330 = 2.4.0 = 328 331 * Security enhancement, deny_file_type added to upload options. … … 464 467 465 468 == Upgrade Notice == 469 = 2.4.1 = 470 * Fix for generated .htaccess file preventing image display on some servers. 471 466 472 = 2.4.0 = 467 473 * Security enhancement, deny_file_type added to upload options. -
work-the-flow-file-upload/trunk/includes/wtf-fu-common-utils.php
r984253 r988003 113 113 SetHandler default-handler 114 114 Options -ExecCGI -Indexes 115 php_flag engine off116 115 RemoveHandler .cgi .php .php3 .php4 .php5 .phtml .pl .py .pyc .pyo .asp .aspx 117 116 </Files> … … 122 121 return "To better secure file uploads the file : $filename has been created."; 123 122 } else { 124 return "$filename not required to be created as it already exists."; 123 124 $pattern = "/# BEGIN wtf-fu modifications.*# END wtf-fu modifications/s"; 125 // inspect the .htaccess file and replace the wtf-fu section if it is already there. 126 127 $file_contents = file_get_contents($filename); 128 129 log_me(array(".htacess" => $file_contents, "pattern" => $pattern)); 130 131 if ( preg_match($pattern, $file_contents) ) { 132 $file_contents = preg_replace($pattern, $text , $file_contents); 133 file_put_contents($filename, $file_contents); 134 return "$filename wtf-fu section has been updated."; 135 } 136 return "$filename exists and has not been altered for wtf-fu modifications."; 125 137 } 126 138 } -
work-the-flow-file-upload/trunk/public/class-wtf-fu.php
r984253 r988003 44 44 * @var string 45 45 */ 46 const VERSION = '2.4. 0';46 const VERSION = '2.4.1'; 47 47 48 48 /** -
work-the-flow-file-upload/trunk/work-the-flow-file-upload.php
r984253 r988003 5 5 * Plugin URI: http://wtf-fu.com 6 6 * Description: Front end Html5 File Upload and configurable Workflow steps. Multiple file drag and drop, gallery image display, file reordering and archiving. 7 * Version: 2.4. 07 * Version: 2.4.1 8 8 * Author: Lynton Reed 9 9 * Author URI: http://wtf-fu.com
Note: See TracChangeset
for help on using the changeset viewer.