Plugin Directory

Changeset 3428344


Ignore:
Timestamp:
12/27/2025 06:17:42 PM (7 weeks ago)
Author:
maximumsoftware
Message:

Deploy from Git

Location:
pdf-forms-for-wpforms/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • pdf-forms-for-wpforms/trunk/js/admin.js

    r3246282 r3428344  
    15461546       
    15471547        jQuery.ajax({
    1548             url: pdf_forms_for_wpforms.ajax_url,
     1548            url: ajaxurl,
    15491549            type: 'POST',
    15501550            data: {
     
    17741774    {
    17751775        jQuery.ajax({
    1776             url: pdf_forms_for_wpforms.ajax_url,
     1776            url: ajaxurl,
    17771777            type: 'POST',
    17781778            data: {
  • pdf-forms-for-wpforms/trunk/js/pdf-ninja-settings.js

    r2908884 r3428344  
    1919       
    2020        jQuery.ajax({
    21             url: pdf_forms_for_wpforms.ajax_url,
     21            url: ajaxurl,
    2222            type: 'POST',
    2323            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  
    4646            wp_register_style( 'pdf_forms_for_wpforms_pdfninja_panel_style', plugins_url( '../css/pdf-ninja-settings.css', __FILE__ ), array( ), Pdf_Forms_For_WPForms::VERSION );
    4747            wp_localize_script( 'pdf_forms_for_wpforms_pdfninja_panel_script', 'pdf_forms_for_wpforms', array(
    48                 'ajax_url' => admin_url( 'admin-ajax.php' ),
    4948                'ajax_nonce' => wp_create_nonce( 'pdf-forms-for-wpforms-ajax-nonce' ),
    5049                '__Unknown_error' => __( 'Unknown error', 'pdf-forms-for-wpforms' ),
  • pdf-forms-for-wpforms/trunk/pdf-forms-for-wpforms.php

    r3298323 r3428344  
    44 * Plugin URI: https://pdfformsfiller.org/
    55 * 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.1
     6 * Version: 1.3.2
    77 * Requires at least: 5.4
    88 * Requires PHP: 5.5
     
    2525    class Pdf_Forms_For_WPForms
    2626    {
    27         const VERSION = '1.3.1';
     27        const VERSION = '1.3.2';
    2828        const MIN_WPFORMS_VERSION = '1.7.7';
    2929        const MAX_WPFORMS_VERSION = '1.9.99';
     
    207207        public function action_links( $links )
    208208        {
     209            $links[] = '<a target="_blank" href="https://pdfformsfiller.org/docs/wpforms/">'.esc_html__( "Docs", 'pdf-forms-for-wpforms' ).'</a>';
    209210            $links[] = '<a target="_blank" href="https://wordpress.org/support/plugin/pdf-forms-for-wpforms/">'.esc_html__( "Support", 'pdf-forms-for-wpforms' ).'</a>';
    210211            return $links;
     
    624625                // TODO: improve error handling via wpforms
    625626                wp_send_json_error(
    626                     esc_html(
     627                    esc_textarea(
    627628                        self::replace_tags(
    628629                            __( "Error saving PDF form data: {error-message} at {error-file}:{error-line}", 'pdf-forms-for-wpforms' ),
     
    14701471                                        'icon' => '<span class="dashicons dashicons-download"></span>',
    14711472                                        'a-href-url' => '<a href="' . esc_attr( $file['url'] ) . '" download>',
    1472                                         'filename' => esc_html( $file['filename'] ),
     1473                                        'filename' => esc_textarea( $file['filename'] ),
    14731474                                        '/a' => '</a>',
    14741475                                        'i' => '<span class="file-size">',
     
    15031504            if( ! isset( $attributes['classes'] ) )
    15041505                $attributes['classes'] = "";
    1505             $attributes['classes'] = trim( $attributes['classes'] . " notice-$type" );
     1506            $attributes['classes'] = trim( $attributes['classes'] . " notice-" . esc_attr($type) );
    15061507           
    15071508            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' );
    15091510           
    15101511            if( $notice_id )
     
    16061607                    Pdf_Forms_For_WPForms::render_error_notice( null, array(
    16071608                        'label' => esc_html__( "Error", 'pdf-forms-for-wpforms' ),
    1608                         'message' => esc_html__( $e->getMessage(), 'pdf-forms-for-wpforms' ),
     1609                        'message' => esc_textarea( $e->getMessage() ),
    16091610                    ) );
    16101611            }
     
    16301631                    false
    16311632                ),
    1632                 'preload-data' => esc_html( self::json_encode( $preload_data ) ),
     1633                'preload-data' => esc_textarea( self::json_encode( $preload_data ) ),
    16331634                'messages' => $messages,
    16341635                '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' ),
     
    17011702                {
    17021703                    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' );
    17041705                   
    17051706                    // TODO: improve registering/enqueuing of jcrop
     
    17111712                   
    17121713                    wp_localize_script( 'pdf_forms_for_wpforms_admin_script', 'pdf_forms_for_wpforms', array(
    1713                         'ajax_url' => admin_url( 'admin-ajax.php' ),
    17141714                        'ajax_nonce' => wp_create_nonce( 'pdf-forms-for-wpforms-ajax-nonce' ),
    17151715                        '__No_Form_ID' => __( "Failed to determine form ID", 'pdf-forms-for-wpforms' ),
  • pdf-forms-for-wpforms/trunk/readme.txt

    r3298323 r3428344  
    11=== PDF Forms Filler for WPForms ===
    2 Version: 1.3.1
    3 Stable tag: 1.3.1
    4 Tested up to: 6.8
     2Version: 1.3.2
     3Stable tag: 1.3.2
     4Tested up to: 6.9
    55Tags: pdf, form, wpforms, email, download
    66Plugin URI: https://pdfformsfiller.org/
     
    3030Please see [Pdf.Ninja Terms of Use](https://pdf.ninja/#terms) and [Pdf.Ninja Privacy Policy](https://pdf.ninja/#privacy).
    3131
    32 Please see the [tutorial video](https://youtu.be/3V2k7ITVNlo) for detailed information.
     32Please see the [tutorial video](https://youtu.be/3V2k7ITVNlo) and the [documentation](https://pdfformsfiller.org/docs/wpforms/) for detailed information.
    3333
    3434[youtube http://www.youtube.com/watch?v=3V2k7ITVNlo]
     
    5555
    5656== Changelog ==
     57
     58= 1.3.2 =
     59
     60* Release date: December 27, 2025
     61
     62* Minor fixes and improvements
    5763
    5864= 1.3.1 =
Note: See TracChangeset for help on using the changeset viewer.