Changeset 1734078
- Timestamp:
- 09/22/2017 04:25:39 AM (8 years ago)
- Location:
- frontend-uploader/trunk
- Files:
-
- 2 edited
-
frontend-uploader.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
frontend-uploader/trunk/frontend-uploader.php
r1728963 r1734078 4 4 Description: Allow your visitors to upload content and moderate it. 5 5 Author: Rinat Khaziev, Daniel Bachhuber 6 Version: 1.3 6 Version: 1.3.1 7 7 Author URI: http://digitallyconscious.com 8 8 … … 26 26 27 27 // Define consts and bootstrap and dependencies 28 define( 'FU_VERSION', '1.3 ' );28 define( 'FU_VERSION', '1.3.1' ); 29 29 define( 'FU_ROOT' , dirname( __FILE__ ) ); 30 30 define( 'FU_FILE_PATH' , FU_ROOT . '/' . basename( __FILE__ ) ); … … 682 682 require_once FU_ROOT . '/lib/php/class-frontend-uploader-wp-posts-list-table.php'; 683 683 684 $file = FU_ROOT . "/lib/views/manage-ugc-{$view}.tpl.php"; 685 686 if ( 0 === validate_file( $file ) ) { 687 include_once $file; 684 $file = "lib/views/manage-ugc-{$view}.tpl.php"; 685 686 // Supply relative path to validate_file as it fails to validate absolute paths on Windows (due to colon) 687 if ( 0 === validate_file( $file ) && file_exists( FU_ROOT . '/' . $file ) ) { 688 include_once FU_ROOT . '/' . $file; 689 } else { 690 wp_die( __( "Couldn't find template file", 'frontend-uploader' ) ); 688 691 } 689 692 } … … 1394 1397 ), 1395 1398 'fu-suspicious-file' => array( 1396 'text' =>__( "The file you tried to upload looks suspicious. This inc edent will be reported.", 'frontend-uploader' ),1399 'text' =>__( "The file you tried to upload looks suspicious. This incident will be reported.", 'frontend-uploader' ), 1397 1400 ), 1398 1401 ); -
frontend-uploader/trunk/readme.txt
r1728963 r1734078 4 4 Tags: frontend, image, images, media, uploader, upload, video, audio, photo, photos, picture, pictures, file, user generated content, ugc, frontend upload 5 5 Requires at least: 4.1 6 Tested up to: 4.8. 17 Stable tag: 1.3 6 Tested up to: 4.8.2 7 Stable tag: 1.3.1 8 8 License: GPLv2 or later 9 9 … … 341 341 == Changelog == 342 342 343 = 1.3.1 (Sep 21, 2017) = 344 * Bugfix: fix blank page in Manage UGC on Windows machines 345 343 346 = 1.3 (Sep 12, 2017 ) 344 347 * Add HTML5 attributes - min, max, placeholder, readonly, disabled
Note: See TracChangeset
for help on using the changeset viewer.