Plugin Directory

Changeset 3257968


Ignore:
Timestamp:
03/18/2025 04:25:43 PM (13 months ago)
Author:
gplsaver
Message:

fix js errors

Location:
woo-rfq-for-woocommerce
Files:
115 added
4 edited

Legend:

Unmodified
Added
Removed
  • woo-rfq-for-woocommerce/trunk/changelog.txt

    r3257798 r3257968  
    11== Changelog ==
     2
     3= 2.0 3/18/2025 =
     4fix js error
     5
    26= 2.0 3/18/2025 =
    37fix gpls_woo_rfq_INQUIRE_TEXT
  • woo-rfq-for-woocommerce/trunk/includes/classes/cart/gpls_woo_rfq_cart.php

    r3257798 r3257968  
    550550                array('link_to_rfq_page' => $link_to_rfq_page,
    551551                ), '', gpls_woo_rfq_WOO_PATH);
    552             $result = wp_kses_post(ob_get_clean());
    553 
     552            $result = ob_get_clean();
     553// phpcs:disable
    554554
    555555            ?>
     
    613613
    614614                                    var note_id = "#note_" + jQuery(form).data('rfq-product-id');
    615                                     //console.log(<?php echo '"'.wp_kses_post($result).'"'; ?>)
    616 
    617                                     jQuery(note_id).html(<?php echo '"'.wp_kses_post($result).'"'; ?>);
     615                                    //console.log(<?php echo '"'.$result.'"'; ?>)
     616
     617                                    jQuery(note_id).html(<?php echo '"'.$result.'"'; ?>);
    618618
    619619                                    jQuery(image_div).hide();
     
    659659
    660660            <?php
    661 
     661// phpcs:enable
    662662
    663663            do_action('gpls_woo_rfq_after_ajax_add_to_quote');
     
    793793
    794794
    795             echo wp_kses_post($rfq_product_script);
     795            echo ($rfq_product_script);// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    796796        }
    797797
     
    14611461
    14621462                    echo "<div class='gpls_script' style='display: none'><script> " .
    1463                         wp_kses_post($rfq_product_script). '</script></div>';
     1463                        ($rfq_product_script). '</script></div>';// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    14641464//end test
    14651465
     
    15181518
    15191519                    echo "<div class='gpls_script' style='display: none'><script> " .
    1520                         wp_kses_post($rfq_product_script). '</script></div>';
     1520                        ($rfq_product_script). '</script></div>';// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    15211521
    15221522
     
    16141614
    16151615                echo "<div class='gpls_script' style='display: none'><script> " .
    1616                     wp_kses_post($rfq_product_script). '</script></div>';
     1616                    ($rfq_product_script). '</script></div>';// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    16171617
    16181618            }
     
    16851685
    16861686                        echo "<div class='gpls_script' style='display: none'><script> " .
    1687                             wp_kses_post($rfq_product_script). '</script></div>';
     1687                            ($rfq_product_script). '</script></div>';// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    16881688
    16891689
     
    17391739
    17401740                        echo "<div class='gpls_script' style='display: none'><script> " .
    1741                             wp_kses_post($rfq_product_script). '</script></div>';
    1742 
     1741                            ($rfq_product_script). '</script></div>';// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    17431742                    }
    17441743
     
    17661765
    17671766                                echo "<div class='gpls_script' style='display: none'><script> " .
    1768                                     wp_kses_post($rfq_product_script). '</script></div>';
     1767                                    ($rfq_product_script). '</script></div>';// phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    17691768
    17701769                                add_action('wp_print_footer_scripts', 'gpls_woo_rfq_print_script_show_single_add', 1000);
  • woo-rfq-for-woocommerce/trunk/readme.txt

    r3257798 r3257968  
    77Requires PHP: 8.2
    88WC tested up to: 9.7.1
    9 Stable tag: 2.1
     9Stable tag: 2.2
    1010License: GPLv2
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    210210
    211211= 2.0 3/18/2025 =
    212 fix gpls_woo_rfq_INQUIRE_TEXT
     212fix js error
    213213
    214214
     
    216216
    217217= 2.0 3/18/2025 =
    218 fix gpls_woo_rfq_INQUIRE_TEXT
    219 
    220 
    221 
    222 
     218fix js error
     219
     220
     221
     222
  • woo-rfq-for-woocommerce/trunk/woo-rfq-for-woocommerce.php

    r3257798 r3257968  
    33 * Plugin Name: NP Quote Request for WooCommerce
    44 * Description: NP Quote Request for WooCommerce enables your customers to easily submit a quote request to your WooCommerce store. It is very flexible and can be used in a variety of store settings. NP Quote Request for WooCommerce enables you to generate leads and engage with your customers!
    5  * Version: 2.1
     5 * Version: 2.2
    66 * Contributors: Neah Plugins,gplsaver
    77 * Author: Neah Plugins
Note: See TracChangeset for help on using the changeset viewer.