Plugin Directory

Changeset 3397372


Ignore:
Timestamp:
11/17/2025 03:56:07 PM (4 months ago)
Author:
jotform
Message:

Version: 1.0.9

Location:
jotform-feedback-button
Files:
13 added
2 edited

Legend:

Unmodified
Added
Removed
  • jotform-feedback-button/trunk/jotform-wp-feedback.php

    r3397251 r3397372  
    88* License: GPLv2 or later
    99* License URI: https://www.gnu.org/licenses/gpl-2.0.html
    10 * Version: 1.0.8
     10* Version: 1.0.9
    1111* Author URI: https://www.jotform.com/
    1212*/
     
    1717}
    1818
    19 define('JWPF_PLUGIN_VERSION', '1.0.8');
     19define('JWPF_PLUGIN_VERSION', '1.0.9');
    2020define('JWPF_PLUGIN_DIR', plugin_dir_path(__FILE__));
    2121define('JWPF_PLUGIN_URL', plugin_dir_url(__FILE__));
     
    5555    }
    5656
    57     function jotform_feedback_button_sanitize_options($input) {
     57    public function jotform_feedback_button_sanitize_options($input) {
    5858        if (is_array($input)) {
    5959            foreach ($input as $key => $value) {
     
    114114        if (!empty($options["formID"])) {
    115115            $data = [
    116                 'formId' => esc_html__($options["formID"]),
    117                 'buttonText' => esc_html__($options["formTitle"]),
    118                 'base' => esc_html__('https://www.jotform.com/'),
    119                 'background' => esc_html__($options["buttonColor"]),
    120                 'fontColor ' => esc_html__($options["labelColor"]),
    121                 'buttonSide' => esc_html__($options["screenAlignment"]),
    122                 'buttonAlign' => esc_html__($options["horizontalAlignment"]),
    123                 'type' => esc_html__($options["lightBoxType"]),
    124                 'width' => esc_html__($options["formWidth"]),
    125                 'height' => esc_html__($options["formHeight"])
     116                'formId' => esc_html($options["formID"]),
     117                'buttonText' => esc_html($options["formTitle"]),
     118                'base' => esc_url('https://www.jotform.com/'),
     119                'background' => esc_html($options["buttonColor"]),
     120                'fontColor ' => esc_html($options["labelColor"]),
     121                'buttonSide' => esc_html($options["screenAlignment"]),
     122                'buttonAlign' => esc_html($options["horizontalAlignment"]),
     123                'type' => esc_html($options["lightBoxType"]),
     124                'width' => esc_html($options["formWidth"]),
     125                'height' => esc_html($options["formHeight"])
    126126            ];
    127127
  • jotform-feedback-button/trunk/readme.txt

    r3397251 r3397372  
    44Requires at least: 5.3
    55Tested up to: 6.8
    6 Stable tag: 1.0.8
     6Stable tag: 1.0.9
    77License: GPLv2 or later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    8989
    9090== Changelog ==
     91= 1.0.9 =
     92* Fix: codebase refactor
     93
    9194= 1.0.8 =
    9295* Fix: codebase refactor
Note: See TracChangeset for help on using the changeset viewer.