Changeset 3428344
- Timestamp:
- 12/27/2025 06:17:42 PM (7 weeks ago)
- Location:
- pdf-forms-for-wpforms/trunk
- Files:
-
- 5 edited
-
js/admin.js (modified) (2 diffs)
-
js/pdf-ninja-settings.js (modified) (1 diff)
-
modules/pdf-ninja.php (modified) (1 diff)
-
pdf-forms-for-wpforms.php (modified) (10 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pdf-forms-for-wpforms/trunk/js/admin.js
r3246282 r3428344 1546 1546 1547 1547 jQuery.ajax({ 1548 url: pdf_forms_for_wpforms.ajax_url,1548 url: ajaxurl, 1549 1549 type: 'POST', 1550 1550 data: { … … 1774 1774 { 1775 1775 jQuery.ajax({ 1776 url: pdf_forms_for_wpforms.ajax_url,1776 url: ajaxurl, 1777 1777 type: 'POST', 1778 1778 data: { -
pdf-forms-for-wpforms/trunk/js/pdf-ninja-settings.js
r2908884 r3428344 19 19 20 20 jQuery.ajax({ 21 url: pdf_forms_for_wpforms.ajax_url,21 url: ajaxurl, 22 22 type: 'POST', 23 23 data: { 'action': 'pdf_forms_for_wpforms_generate_pdf_ninja_key', 'nonce': pdf_forms_for_wpforms.ajax_nonce }, -
pdf-forms-for-wpforms/trunk/modules/pdf-ninja.php
r3214289 r3428344 46 46 wp_register_style( 'pdf_forms_for_wpforms_pdfninja_panel_style', plugins_url( '../css/pdf-ninja-settings.css', __FILE__ ), array( ), Pdf_Forms_For_WPForms::VERSION ); 47 47 wp_localize_script( 'pdf_forms_for_wpforms_pdfninja_panel_script', 'pdf_forms_for_wpforms', array( 48 'ajax_url' => admin_url( 'admin-ajax.php' ),49 48 'ajax_nonce' => wp_create_nonce( 'pdf-forms-for-wpforms-ajax-nonce' ), 50 49 '__Unknown_error' => __( 'Unknown error', 'pdf-forms-for-wpforms' ), -
pdf-forms-for-wpforms/trunk/pdf-forms-for-wpforms.php
r3298323 r3428344 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. 16 * Version: 1.3.2 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. 1';27 const VERSION = '1.3.2'; 28 28 const MIN_WPFORMS_VERSION = '1.7.7'; 29 29 const MAX_WPFORMS_VERSION = '1.9.99'; … … 207 207 public function action_links( $links ) 208 208 { 209 $links[] = '<a target="_blank" href="https://pdfformsfiller.org/docs/wpforms/">'.esc_html__( "Docs", 'pdf-forms-for-wpforms' ).'</a>'; 209 210 $links[] = '<a target="_blank" href="https://wordpress.org/support/plugin/pdf-forms-for-wpforms/">'.esc_html__( "Support", 'pdf-forms-for-wpforms' ).'</a>'; 210 211 return $links; … … 624 625 // TODO: improve error handling via wpforms 625 626 wp_send_json_error( 626 esc_ html(627 esc_textarea( 627 628 self::replace_tags( 628 629 __( "Error saving PDF form data: {error-message} at {error-file}:{error-line}", 'pdf-forms-for-wpforms' ), … … 1470 1471 'icon' => '<span class="dashicons dashicons-download"></span>', 1471 1472 'a-href-url' => '<a href="' . esc_attr( $file['url'] ) . '" download>', 1472 'filename' => esc_ html( $file['filename'] ),1473 'filename' => esc_textarea( $file['filename'] ), 1473 1474 '/a' => '</a>', 1474 1475 'i' => '<span class="file-size">', … … 1503 1504 if( ! isset( $attributes['classes'] ) ) 1504 1505 $attributes['classes'] = ""; 1505 $attributes['classes'] = trim( $attributes['classes'] . " notice- $type");1506 $attributes['classes'] = trim( $attributes['classes'] . " notice-" . esc_attr($type) ); 1506 1507 1507 1508 if( !isset( $attributes['label'] ) ) 1508 $attributes['label'] = __( "PDF Forms Filler for WPForms", 'pdf-forms-for-wpforms' );1509 $attributes['label'] = esc_html__( "PDF Forms Filler for WPForms", 'pdf-forms-for-wpforms' ); 1509 1510 1510 1511 if( $notice_id ) … … 1606 1607 Pdf_Forms_For_WPForms::render_error_notice( null, array( 1607 1608 'label' => esc_html__( "Error", 'pdf-forms-for-wpforms' ), 1608 'message' => esc_ html__( $e->getMessage(), 'pdf-forms-for-wpforms'),1609 'message' => esc_textarea( $e->getMessage() ), 1609 1610 ) ); 1610 1611 } … … 1630 1631 false 1631 1632 ), 1632 'preload-data' => esc_ html( self::json_encode( $preload_data ) ),1633 'preload-data' => esc_textarea( self::json_encode( $preload_data ) ), 1633 1634 'messages' => $messages, 1634 1635 'instructions' => esc_html__( "You can use this section to attach a PDF file to your form, insert new form fields into your form, and link them to fields in the PDF file. You can also embed images (from URLs or attached files) into the PDF file. Changes here are applied when the form is saved.", 'pdf-forms-for-wpforms' ), … … 1701 1702 { 1702 1703 wp_register_style( 'select2', plugin_dir_url( __FILE__ ) . 'css/select2.min.css', array(), '4.0.13' ); 1703 wp_register_script( 'select2', plugin_dir_url( __FILE__ ) . 'js/select2/select2.min.js', array( 'jquery' ), '4.0.13' );1704 wp_register_script( 'select2', plugin_dir_url( __FILE__ ) . 'js/select2/select2.min.js', array( 'jquery' ), '4.0.13' ); 1704 1705 1705 1706 // TODO: improve registering/enqueuing of jcrop … … 1711 1712 1712 1713 wp_localize_script( 'pdf_forms_for_wpforms_admin_script', 'pdf_forms_for_wpforms', array( 1713 'ajax_url' => admin_url( 'admin-ajax.php' ),1714 1714 'ajax_nonce' => wp_create_nonce( 'pdf-forms-for-wpforms-ajax-nonce' ), 1715 1715 '__No_Form_ID' => __( "Failed to determine form ID", 'pdf-forms-for-wpforms' ), -
pdf-forms-for-wpforms/trunk/readme.txt
r3298323 r3428344 1 1 === PDF Forms Filler for WPForms === 2 Version: 1.3. 13 Stable tag: 1.3. 14 Tested up to: 6. 82 Version: 1.3.2 3 Stable tag: 1.3.2 4 Tested up to: 6.9 5 5 Tags: pdf, form, wpforms, email, download 6 6 Plugin URI: https://pdfformsfiller.org/ … … 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.32 Please see the [tutorial video](https://youtu.be/3V2k7ITVNlo) and the [documentation](https://pdfformsfiller.org/docs/wpforms/) for detailed information. 33 33 34 34 [youtube http://www.youtube.com/watch?v=3V2k7ITVNlo] … … 55 55 56 56 == Changelog == 57 58 = 1.3.2 = 59 60 * Release date: December 27, 2025 61 62 * Minor fixes and improvements 57 63 58 64 = 1.3.1 =
Note: See TracChangeset
for help on using the changeset viewer.