Plugin Directory

Changeset 2929831


Ignore:
Timestamp:
06/22/2023 07:01:11 PM (3 years ago)
Author:
earnware
Message:

Fixed style issue with recaptcha feature.

Location:
earnware-connect/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • earnware-connect/trunk/README.txt

    r2929432 r2929831  
    2828== Changelog ==
    2929
     30= 1.0.71 =
     31* Fixed style issue with recaptcha feature.
     32
    3033= 1.0.70 =
    3134* Release support for GPC Beacon and tested with WP 6.2.2
  • earnware-connect/trunk/public/class-wp-ew-public.php

    r2929432 r2929831  
    350350                <div class="sub-form-recaptcha">
    351351                    <div id="g-recaptcha" class='g-recaptcha ew-recaptcha' data-sitekey='{$options["recaptcha_v2_site_key"]}'></div>
    352                     <input id="g-token" style='width: 300px; margin: 10px 10px -60px; top:-74px; position: relative; z-index: -1;' type='text' required="true">
     352                    <input id="g-token" style='top:-9999px; left: -9999px; position: absolute; z-index: -9999;' type='text' required="true">
    353353                    <script type="text/javascript">
    354354
     
    834834            'remoteip' => urlencode($_SERVER['REMOTE_ADDR'])
    835835        );
    836        
     836
    837837        //url-ify the data for the POST
    838         foreach($fields as $key=>$value) { $fields_string .= $key.'='.$value.'&'; }
     838        foreach($fields as $key=>$value) { $fields_string.=$key.'='.$value.'&'; }
    839839        rtrim($fields_string, '&');
    840840
     
    842842
    843843        curl_setopt($ch,CURLOPT_URL, $url);
    844         curl_setopt($ch,CURLOPT_POST, count($fields));
     844        curl_setopt($ch,CURLOPT_POST, true);
    845845        curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string);
    846        
     846
    847847        $result = curl_exec($ch);
    848848
  • earnware-connect/trunk/wp-ew.php

    r2929432 r2929831  
    1717 * Plugin URI:        https://www.earnware.com/wordpress/plugins/earnware-connect
    1818 * Description:       A plugin to connect any wordpress site to the Earnware Dashboard.
    19  * Version:           1.0.70
     19 * Version:           1.0.71
    2020 * Author:            Earnware Corporation
    2121 * Author URI:        https://earnware.com/about/
     
    3131}
    3232
    33 define( 'PLUGIN_NAME_VERSION', '1.0.70' );
     33define( 'PLUGIN_NAME_VERSION', '1.0.71' );
    3434
    3535/**
Note: See TracChangeset for help on using the changeset viewer.