Changeset 2929831
- Timestamp:
- 06/22/2023 07:01:11 PM (3 years ago)
- Location:
- earnware-connect/trunk
- Files:
-
- 3 edited
-
README.txt (modified) (1 diff)
-
public/class-wp-ew-public.php (modified) (3 diffs)
-
wp-ew.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
earnware-connect/trunk/README.txt
r2929432 r2929831 28 28 == Changelog == 29 29 30 = 1.0.71 = 31 * Fixed style issue with recaptcha feature. 32 30 33 = 1.0.70 = 31 34 * Release support for GPC Beacon and tested with WP 6.2.2 -
earnware-connect/trunk/public/class-wp-ew-public.php
r2929432 r2929831 350 350 <div class="sub-form-recaptcha"> 351 351 <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"> 353 353 <script type="text/javascript"> 354 354 … … 834 834 'remoteip' => urlencode($_SERVER['REMOTE_ADDR']) 835 835 ); 836 836 837 837 //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.'&'; } 839 839 rtrim($fields_string, '&'); 840 840 … … 842 842 843 843 curl_setopt($ch,CURLOPT_URL, $url); 844 curl_setopt($ch,CURLOPT_POST, count($fields));844 curl_setopt($ch,CURLOPT_POST, true); 845 845 curl_setopt($ch,CURLOPT_POSTFIELDS, $fields_string); 846 846 847 847 $result = curl_exec($ch); 848 848 -
earnware-connect/trunk/wp-ew.php
r2929432 r2929831 17 17 * Plugin URI: https://www.earnware.com/wordpress/plugins/earnware-connect 18 18 * Description: A plugin to connect any wordpress site to the Earnware Dashboard. 19 * Version: 1.0.7 019 * Version: 1.0.71 20 20 * Author: Earnware Corporation 21 21 * Author URI: https://earnware.com/about/ … … 31 31 } 32 32 33 define( 'PLUGIN_NAME_VERSION', '1.0.7 0' );33 define( 'PLUGIN_NAME_VERSION', '1.0.71' ); 34 34 35 35 /**
Note: See TracChangeset
for help on using the changeset viewer.