Plugin Directory

Changeset 2908232


Ignore:
Timestamp:
05/04/2023 08:16:31 PM (3 years ago)
Author:
dyonic
Message:

Fix WordPress user prefill variables with shortcode

Location:
ryen-wp/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ryen-wp/trunk/README.txt

    r2897402 r2908232  
    66License: GPL 2.0
    77License URI: http://www.gnu.org/licenses/gpl-2.0.txt
    8 Stable Tag: 3.1.7
     8Stable Tag: 3.1.9
    99
    1010== Description ==
     
    2626
    2727== Changelog ==
     28= 3.1.8 =
     29* Fix forward wp user variable when not initialized
     30
    2831= 3.1.7 =
    2932* Fix forwarded user prefilled variables
  • ryen-wp/trunk/includes/class-ryen.php

    r2897402 r2908232  
    1313            $this->version = RYEN_VERSION;
    1414        } else {
    15             $this->version = '1.0.0';
     15            $this->version = '1.0.1';
    1616        }
    1717        $this->plugin_name = 'ryen';
  • ryen-wp/trunk/public/class-ryen-public.php

    r2897402 r2908232  
    102102    $bot_initializer = '<script type="module">
    103103    import Ryen from "' . $lib_url . '"
    104     Ryen.initStandard({ apiHost: "' . $api_host . '", id: "' . $id . '", ryen: "' . $ryen . '", prefilledVariables: { ...ryenWpUser } });</script>';
     104
     105    Ryen.initStandard({ apiHost: "' . $api_host . '", id: "' . $id . '", ryen: "' . $ryen . '", prefilledVariables: { ...window.ryenWpUser } });</script>';
    105106
    106107    return  '<ryen-standard id="' . $id . '" style="width: ' . $width . '; height: ' . $height . ';"></ryen-standard>' . $bot_initializer;
  • ryen-wp/trunk/ryen.php

    r2888231 r2908232  
    44 * Plugin Name:       Ryen WP
    55 * Description:       Convert more with conversational forms
    6  * Version:           3.1.7
     6 * Version:           3.1.9
    77 * Author:            Ryen
    88 * Author URI:        http://ryen.org/
     
    1717}
    1818
    19 define('RYEN_VERSION', '3.1.7');
     19define('RYEN_VERSION', '3.1.9');
    2020
    2121function activate_ryen()
Note: See TracChangeset for help on using the changeset viewer.