Changeset 1385866
- Timestamp:
- 04/04/2016 03:05:29 AM (10 years ago)
- Location:
- work-the-flow-file-upload/trunk
- Files:
-
- 6 edited
-
README.txt (modified) (2 diffs)
-
admin/class-wtf-fu-admin.php (modified) (1 diff)
-
includes/class-wtf-fu-option-definitions.php (modified) (3 diffs)
-
includes/wtf-fu-common-utils.php (modified) (1 diff)
-
public/class-wtf-fu.php (modified) (7 diffs)
-
work-the-flow-file-upload.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
work-the-flow-file-upload/trunk/README.txt
r1228203 r1385866 325 325 326 326 == Changelog == 327 = 3.1.0 = 328 * Updates to better support wtf_fu_list_files shortcode. 329 * Addition of %%FILEDATETIME%% placeholder for wtf_fu_list_files. 330 * Some redundant code and logging removed. 331 332 = 3.0.1 = 333 * Minor update to remove warnings for "Headers already sent errors" on the templates and workflows pages. 334 327 335 = 3.0.0 = 328 336 * Improved performance : revised javascript routines to use jquery in no-conflicts mode, allowing use of wordpress supplied jquery scripts instead of importing from code.jquery. … … 487 495 488 496 == Upgrade Notice == 497 = 3.1.0 = 498 * PRO users should upgrade to improve support for the wtf_fu_list_files shortcode, non PRO users should also upgrade to ensure they have the latest code base. 499 * This version (3.1.0) of the core is required for the PRO release 3.1.0. 500 501 = 3.0.1 = 502 * Minor update to remove warnings for "Headers already sent errors" on the templates and workflows pages. 503 489 504 = 3.0.0 = 490 505 * Improved performance : revised javascript routines to use JQuery in no-conflicts mode, allowing use of wordpress supplied jquery scripts instead of importing from code.jquery. -
work-the-flow-file-upload/trunk/admin/class-wtf-fu-admin.php
r1228203 r1385866 439 439 */ 440 440 public function add_action_links($links) { 441 log_me(array('add_action_links' => $links));442 441 return array_merge( 443 442 array( -
work-the-flow-file-upload/trunk/includes/class-wtf-fu-option-definitions.php
r1206638 r1385866 205 205 'user_info' => "<tr><th colspan=4>%%LOGIN_NAME%% (%%NUMBER_OF_FILES%% files, %%TOTAL_FILE_SIZE%%)</th></tr>", 206 206 'table_class' => 'wtf_list_files', 207 'line_format' => "<tr><td class=number>%%NUMBER%%</td><td class=thummbnail>%%MEDIUM%%</td><td class=vertical>%%FILENAME%%%%AUDIO%%</td><td class=icon>%%ICON%% %%FILESIZE%%</td></tr>", 207 'line_format' => "<tr><td class=number>%%NUMBER%%</td><td class=thummbnail>%%THUMBNAIL%%</td><td class=vertical>%%FILENAME%%<br />%%AUDIO%%</td><td class=icon>%%ICON%% %%FILESIZE%%</td></tr>", 208 'filetimeformat' => "M d Y H:i:s", 208 209 'download_links' => '1', 209 210 'gallery' => '1', … … 366 367 'wtf_upload_subdir' => 'The subdirectory directory for the user files. This should match the value used to upload the files in the wtf_upload shortcode attribute of the same name.', 367 368 'table_class' => 'the css class to use for the table of files, use this to provide your own css formatting e.g. mytableclass. To create your own css class formatting have a look at the default css in the work-the-flow-file-upload-pro/public/ssets/css/wtf-list-files.css file', 368 'line_format' => "The format for a single file item as an html table row. The field placeholders %%NUMBER%%, %%THUMBNAIL%%, %%FILENAME%%, %%ICON%%, and %%FILESIZE%% may be useto construct the row. e.g. "369 'line_format' => "The format for a single file item as an html table row. The field placeholders %%NUMBER%%, %%THUMBNAIL%%, %%FILENAME%%, %%ICON%%, %%FILESIZE%%, and %%FILEDATETIME%% may be used to construct the row. e.g. " 369 370 . "<tr><td>%%NUMBER%%</td><td>%%THUMBNAIL%%</td><td>%%FILENAME%%</td><td>%%ICON%% <small>%%FILESIZE%%</small></td></tr>. Note that the string MUST be enclosed with <tr> and </tr> tags," 370 371 . " note that anthing outside these tags is stripped out to remove the (annoying) WP auto line formatting <br /> and <p> tags. You may include more than one row if desired. eg <tr>...</tr><tr>...</tr>" … … 373 374 'user_info' => "The format for display of each users information. Setting this to an empty string \"\" will cause no user information to be displayed. " 374 375 . "The placeholders %%USER_ID%%, %%LOGIN_NAME%%, %%FIRST_NAME%%, %%LAST_NAME%%, %%NUMBER_OF_FILES%%, %%TOTAL_FILE_SIZE%% may be used.", 376 'filetimeformat' => "The php date format string to use with the %%FILEDATETIME%% placeholder. Please see http://php.net/manual/en/function.date.php for a list of php date formatting codes.", 375 377 'download_links' => '0 (false) or 1 (true). Provides a link to the file for download on the %%FILENAME%% field .', 376 378 'gallery' => 'set to 1 (true) to showcase list thumnail and medium images fullsize in a gallery display when clicked.', -
work-the-flow-file-upload/trunk/includes/wtf-fu-common-utils.php
r1206638 r1385866 1069 1069 } 1070 1070 $info->filesize = filesize($filename); 1071 $info->filetime = filemtime($filename); 1071 1072 1072 1073 return $info; -
work-the-flow-file-upload/trunk/public/class-wtf-fu.php
r1228203 r1385866 44 44 * @var string 45 45 */ 46 const VERSION = '3. 0.1';46 const VERSION = '3.1.0'; 47 47 48 48 /** … … 66 66 */ 67 67 private function __construct() { 68 69 // log_me('__construct Wtf_Fu ');70 //log_me('memory=' . memory_get_usage(true) . "\n");71 //log_me('peak memory=' . memory_get_peak_usage(true) . "\n");72 68 73 69 add_action('init', array($this, 'check_for_upgrade')); … … 305 301 Wtf_Fu_Options::update_options_from_default_options($k, $v['options'], $default_stage_options); 306 302 } 307 308 303 break; 309 304 } 310 311 log_me("upgrading from $installed_ver to " . self::VERSION); 312 305 // log_me("upgrading from $installed_ver to " . self::VERSION); 313 306 update_option("wtf-fu_version", self::VERSION); 314 307 } … … 372 365 373 366 if (self::wtf_fu_has_shortcode('wtf_fu')) { 374 375 // 'jquery-ui-autocomplete','jquery-ui-button',376 // 'jquery-ui-datepicker', 'jquery-ui-dialog', 'jquery-ui-draggable', 'jquery-ui-droppable', 'jquery-ui-menu', 'jquery-ui-mouse',377 // 'jquery-ui-position', 'jquery-ui-progressbar', 'jquery-ui-selectable','jquery-ui-resizable','jquery-ui-selectmenu',378 // 'jquery-ui-slider', 'jquery-ui-tooltip', 'jquery-ui-tabs');379 367 380 368 // use WP supplied JQuery libs where possible. … … 436 424 'absoluteurl' => wtf_fu_JQUERY_FILE_UPLOAD_URL . 'cors/result.html?%s'// , 'security' => wp_create_nonce('wtf_fu_upload_nonce') 437 425 )); 438 439 //log_me("uploadFilesHtml wp_localize_script for $fileupload_handle = $ret");440 } else {441 //log_me("$fileupload_handle is already enqueued");442 426 } 443 427 … … 460 444 461 445 function file_upload_shortcode($attr) { 462 // log_me("upload_shortcode hook fired");463 446 $shortcode_instance = new Wtf_Fu_Fileupload_Shortcode($attr); 464 447 $content = $shortcode_instance->generate_content(); … … 512 495 $content = $wf_instance->generate_content($options); 513 496 514 if (!empty($content)) {515 //global $shortcode_tags;516 //log_me(array('shortcode_tags' => $shortcode_tags));517 // $content = do_shortcode($content); // Process any embedded short codes.518 //$content = apply_filters( 'the_content', $content );519 }520 521 497 return $content; 522 498 523 499 case 'fileupload' : 524 500 return $this->file_upload_shortcode($attr); 525 526 501 527 502 case 'show_files' : -
work-the-flow-file-upload/trunk/work-the-flow-file-upload.php
r1228203 r1385866 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: 3. 0.17 * Version: 3.1.0 8 8 * Author: Lynton Reed 9 9 * Author URI: http://wtf-fu.com
Note: See TracChangeset
for help on using the changeset viewer.