WP TCPDF Bridge Changelog

2.0.4 – 20 February 2023

  • Refactor plugin JS
  • Fix uncertain issue with TCPDF testing feature
  • Prevent added fonts from being removed from font selection in settings
  • Default options set to array() where array expected in get_option()

2.0.3 – 20 February 2023

  • Change ABSPATH to WP_CONTENT_DIR in classes/wptcpdfb-font.php line 236

2.0.2 – 14 February 2023

  • Fix missing PNG transparency. Must use full namespace in method_exists() call in TCPDF.php line 7136

2.0.1 – 10 February 2023

  • Correct path constant in /inc/tcpdf/tcpdf/tcpdf_autoconfig.php
  • Make sure TCPDF Output() goes to file – not force – when watermarking uploads on the backend
  • Overwrite TCPDF Header() and Footer() methods to avoid printing of margins and hard rules on PDFs

2.0 – 6 February 2023

  • Improvements in error handling
  • Catch for when start or end page are greater than pagecount
  • Move JS from inline to enqueued in admin settings
  • Minify JS
  • Update EDD software license code
  • Update modal.php template to escape output and work with new (vanilla) modal
  • Update templates/wptcpdfb files to escape output
  • Remove need for jQuery migrate
  • Use WP uploads folder for temporary storage (stop trying to use /tmp etc)
  • New option for forced/x-accel/redirect downloads
  • Use native TCPDF force download handler for forced downloads, e.g. ->Output( ‘file.pdf’, ‘D’ )
  • Additional inline AJAX-powered link display option

1.0.12.1 – 6 May 2022

  • Undo 1.0.12 (patch) tweak – User must be administrator, to run backend of TCPDF Bridge, filterable with ‘wptcpdfb_settings_manage_options’ hook
  • ‘option_page_capability_’ hook added into plugin to allow for page saving in different roles

1.0.11 – 24 March 2022

  • Fix – return $settings array in wptcpdfb-handle-upload.php prepare_watermark_content() line 182

1.0.10 – 11 January 2022

  • Tweak – wp_enqueue_script() list jQuery inside an array in dependencies (not string)
  • Tweak – hide modal after form submit/file retrieved (templates/wptcpdfb/modal.php change)
  • Testing with WP 5.8

1.0.9 – 2 November 2021

  • Tweak – add action hooks for file downloads, esp after form submission: ‘wptcpdfb_form_submitted’ and pre-download: ‘wptcpdfb_file_delivery’
  • Use native WP method wp_normalize_path() to “sanitize” filepaths for Windows systems
  • Use native WP method get_home_path()
  • Discontinue use of DIRECTORY_SEPARATOR constant
  • Update EDD SL software

1.0.8 – 22 Feb 2021

  • ‘wptcpdfb_settings_manage_options’ hook to allow admins finer control over who can manage WP TCPDF. Default is ‘manage_options’. Use in combination with ‘option_page_capability_’ WordPress filter hook to allow granular control of which settings pages can be adjusted
  • improve cron cleanup to check both tmp folder locations for PDFs, delete wp-tcpdf-bridge-created directories

1.0.7 – 15 Jan 2020

  • Fix – In wptcpdfb-shortcode.js, make provision for if numerous inline links on same page, test for “data-link”
  • Fix – License key screen redirect – add query ‘&action=license’ to URL
  • Tweak – timeout in wptcpdfb-shortcode.js changed to 0 for instant user feedback on click of download link

1.0.6 – 4 Jan 2020

  • Fix – Settings textarea $_POST data duplicated; neither saving correctly

1.0.5 – 18 Dec 2020

  • Fix – No files listed and checkbox not checked, make sure not to mark PDF upload!

1.0.4 – 21 Oct 2020

  • Fix – barcode function can’t be called statically, strtolower on input
  • Tweak – error logging during watermarking
  • Tweak – ‘wptcpdfb_cell_width’ filter added to allow for manually setting cell width on rotatable overlay watermarks
  • Tweak – TCPDI/TCPDF libraries updated for better PHP 7.4 compatibility

1.0.3 – 20 Aug 2020

  • Feature – setup optional weekly file cleanup cron for if files remain on server after watermarking.
  • Fix – AJAX downloads must use wp-content to (temporarily) store PDFs during watermarking, cannot use tmp dir
  • Tweak – text progress indicator for inline (AJAX) downloads if taking > 3seconds.

1.0.2 – 18 Aug 2020

  • Fix – Too few arguments to function WPTCPDFB_Handle_Upload::prepare_watermark_content() in wptcpdf-handle-upload.php
  • Fix – Using $this when not in object context in wptcpdf-handle-upload.php

1.0.1 – 26 July 2020

  • Fix – Set up beta offering correctly so users can opt in/out
  • Tweak to account for logged in user data (name, email) for stamping shortcodes [FIRSTNAME] [LASTNAME] [EMAIL]
  • Testing with WP 5.4.2

1.0 – 15 June 2020

  • First release
Little Package Web