Changeset 3298323
- Timestamp:
- 05/21/2025 08:54:50 PM (9 months ago)
- Location:
- pdf-forms-for-wpforms/trunk
- Files:
-
- 3 edited
-
languages/pdf-forms-for-wpforms.pot (modified) (1 diff)
-
pdf-forms-for-wpforms.php (modified) (6 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pdf-forms-for-wpforms/trunk/languages/pdf-forms-for-wpforms.pot
r3214289 r3298323 407 407 408 408 #: pdf-forms-for-wpforms.php:1644 409 msgid "Have a question/comment/problem? Feel free to use {a-href-forum}the support forum{/a} ."409 msgid "Have a question/comment/problem? Feel free to use {a-href-forum}the support forum{/a} and view {a-href-tutorial}the tutorial video{/a}." 410 410 msgstr "" 411 411 -
pdf-forms-for-wpforms/trunk/pdf-forms-for-wpforms.php
r3265807 r3298323 4 4 * Plugin URI: https://pdfformsfiller.org/ 5 5 * Description: Build WPForms from PDF forms. Get PDFs filled automatically and attached to email messages and/or website responses on form submissions. 6 * Version: 1.3. 06 * Version: 1.3.1 7 7 * Requires at least: 5.4 8 8 * Requires PHP: 5.5 … … 25 25 class Pdf_Forms_For_WPForms 26 26 { 27 const VERSION = '1.3. 0';28 const MIN_WPFORMS_VERSION = '1. 6.9';27 const VERSION = '1.3.1'; 28 const MIN_WPFORMS_VERSION = '1.7.7'; 29 29 const MAX_WPFORMS_VERSION = '1.9.99'; 30 30 private static $BLACKLISTED_WPFORMS_VERSIONS = array(); … … 82 82 83 83 add_filter( 'wpforms_smarttags_process_value', array( $this, 'plaintext_smart_tag_value_workaround_filter' ), PHP_INT_MAX, 6 ); 84 // fill_pdfs: we can't use wpforms_process_complete (because notifications have already been sent) and wpforms_process because uploaded files haven't been processed yet 85 add_filter( 'wpforms_process_after_filter', array( $this, 'fill_pdfs' ), 999999, 3 ); 84 // fill_pdfs: we can't use wpforms_process_complete (because notifications have already been sent) 85 // and wpforms_process because uploaded files haven't been processed yet 86 // we need entry_id as well, which is only provided to wpforms_process_entry_saved 87 add_action( 'wpforms_process_entry_saved', array( $this, 'fill_pdfs' ), 99, 4 ); 86 88 add_action( 'wpforms_process_complete', array( $this, 'remove_tmp_dir' ), 99, 0 ); 87 89 add_filter( 'wpforms_emails_send_email_data', array( $this, 'attach_files' ), 10, 2 ); … … 877 879 * We need to fill the pdf's document fields and then create attachment file and attach them 878 880 */ 879 public function fill_pdfs( $wpforms_fields, $entry, $form_data )881 public function fill_pdfs( $wpforms_fields, $entry, $form_data, $entry_id ) 880 882 { 881 883 try 882 884 { 883 $entry_id = $entry["id"];884 885 885 $attachments = array(); 886 886 $mappings = array(); … … 1429 1429 $this->wpforms_mail_attachments = array(); 1430 1430 } 1431 1432 return $wpforms_fields;1433 1431 } 1434 1432 … … 1672 1670 'show-smart-tags' => esc_html__( 'Show Smart Tags', 'pdf-forms-for-wpforms' ), 1673 1671 'help-message' => self::replace_tags( 1674 esc_html__( "Have a question/comment/problem? Feel free to use {a-href-forum}the support forum{/a} .", 'pdf-forms-for-wpforms' ),1672 esc_html__( "Have a question/comment/problem? Feel free to use {a-href-forum}the support forum{/a} and view {a-href-tutorial}the tutorial video{/a}.", 'pdf-forms-for-wpforms' ), 1675 1673 array( 1676 1674 'a-href-forum' => '<a href="https://wordpress.org/support/plugin/pdf-forms-for-wpforms/" target="_blank">', 1675 'a-href-tutorial' => '<a href="https://youtu.be/3V2k7ITVNlo" target="_blank">', 1677 1676 '/a' => '</a>', 1678 1677 ) -
pdf-forms-for-wpforms/trunk/readme.txt
r3265807 r3298323 1 1 === PDF Forms Filler for WPForms === 2 Version: 1.3. 03 Stable tag: 1.3. 02 Version: 1.3.1 3 Stable tag: 1.3.1 4 4 Tested up to: 6.8 5 5 Tags: pdf, form, wpforms, email, download … … 30 30 Please see [Pdf.Ninja Terms of Use](https://pdf.ninja/#terms) and [Pdf.Ninja Privacy Policy](https://pdf.ninja/#privacy). 31 31 32 Please see the [tutorial video](https://youtu.be/3V2k7ITVNlo) for detailed information. 33 34 [youtube http://www.youtube.com/watch?v=3V2k7ITVNlo] 35 32 36 Requirements: 33 37 * PHP 5.5 or newer … … 51 55 52 56 == Changelog == 57 58 = 1.3.1 = 59 60 * Release date: May 21, 2025 61 62 * Fixed the issue of {entry_id} smart tag not working correctly 53 63 54 64 = 1.3.0 =
Note: See TracChangeset
for help on using the changeset viewer.