Changeset 1708063
- Timestamp:
- 08/03/2017 10:52:57 PM (9 years ago)
- Location:
- trustedsite-reviews/trunk
- Files:
-
- 4 edited
-
js/overview.js (modified) (1 diff)
-
lib/App.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
trustedsite-reviews.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trustedsite-reviews/trunk/js/overview.js
r1706453 r1708063 56 56 if(!email){ email = '';} 57 57 58 console.log("TSReviewsOverview");59 58 var left = window.innerWidth / 2 - 250; 60 59 var top = 200; -
trustedsite-reviews/trunk/lib/App.php
r1695982 r1708063 45 45 $arrHost = parse_url(home_url('', $scheme = 'http')); 46 46 $host = $arrHost['host']; 47 48 $sip_req_url = $endpoint_host . "/rpc/ajax?do=track-site-conversion&jsoncallback=f&t=purchase&s=6&o=" . urlencode($order_number) . "&e=" . urlencode($email) . "&fn=" . urlencode($first_name) . "&ln=" . urlencode($last_name) . "&c=" . urlencode($country_code) . "&h=" . urlencode($host) . "&a=" . urlencode($order_total); 47 $req_url = $endpoint_host . "/api/v1/track-site-conversion.json?t=purchase&s=6&o=" . urlencode($order_number) . "&e=" . urlencode($email) . "&fn=" . urlencode($first_name) . "&ln=" . urlencode($last_name) . "&c=" . urlencode($country_code) . "&h=" . urlencode($host); 49 48 50 49 $curl = curl_init(); 51 curl_setopt($curl, CURLOPT_URL, $ sip_req_url);50 curl_setopt($curl, CURLOPT_URL, $req_url); 52 51 curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); 53 52 $response = curl_exec($curl); 54 // error_log("Resp: ". $response);53 // error_log("Resp: ". $response); 55 54 curl_close($curl); 56 55 } -
trustedsite-reviews/trunk/readme.txt
r1706467 r1708063 4 4 Requires at least: 4.2.0 5 5 Tested up to: 4.8.0 6 Stable tag: 1.0. 56 Stable tag: 1.0.6 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
trustedsite-reviews/trunk/trustedsite-reviews.php
r1706467 r1708063 5 5 * ------------------------------------------------------------------------------------------------------------------ 6 6 * @package trustedsite-reviews 7 * @version 1.0. 57 * @version 1.0.6 8 8 * Plugin Name: TrustedSite Reviews 9 9 * Description: Add TrustedSite Reviews to your site and start showing visitors how great your business is. 10 10 * Author: TrustedSite 11 * Version: 1.0. 511 * Version: 1.0.6 12 12 * Author URI: https://www.trustedsite.com/ 13 13 * ------------------------------------------------------------------------------------------------------------------ … … 17 17 return; 18 18 } 19 define('TS_REVIEWS', '1.0. 5');19 define('TS_REVIEWS', '1.0.6'); 20 20 21 21 add_action('activated_plugin','ts_reviews_save_activation_error');
Note: See TracChangeset
for help on using the changeset viewer.