Changeset 2147618
- Timestamp:
- 08/29/2019 08:50:40 AM (7 years ago)
- Location:
- ghostmonitor
- Files:
-
- 79 added
- 7 edited
-
tags/1.12.13 (added)
-
tags/1.12.13/assets (added)
-
tags/1.12.13/assets/js (added)
-
tags/1.12.13/assets/js/ghostmonitor_messenger_widget.js (added)
-
tags/1.12.13/assets/js/ghostmonitor_push.js (added)
-
tags/1.12.13/config.json (added)
-
tags/1.12.13/includes (added)
-
tags/1.12.13/includes/class-wc-ghostmonitor-api.php (added)
-
tags/1.12.13/includes/class-wc-ghostmonitor.php (added)
-
tags/1.12.13/includes/ghostmonitor_api (added)
-
tags/1.12.13/includes/ghostmonitor_api/ghost-api.php (added)
-
tags/1.12.13/includes/ghostmonitor_api/src (added)
-
tags/1.12.13/includes/ghostmonitor_api/src/controller (added)
-
tags/1.12.13/includes/ghostmonitor_api/src/controller/class-base-controller.php (added)
-
tags/1.12.13/includes/ghostmonitor_api/src/controller/class-stat-controller.php (added)
-
tags/1.12.13/includes/ghostmonitor_api/src/model (added)
-
tags/1.12.13/includes/ghostmonitor_api/src/model/class-order-model.php (added)
-
tags/1.12.13/includes/ghostmonitor_api/src/utils (added)
-
tags/1.12.13/includes/ghostmonitor_api/src/utils/request (added)
-
tags/1.12.13/includes/ghostmonitor_api/src/utils/request/class-request-interface.php (added)
-
tags/1.12.13/includes/ghostmonitor_api/src/utils/request/class-request.php (added)
-
tags/1.12.13/includes/ghostmonitor_api/src/utils/response (added)
-
tags/1.12.13/includes/ghostmonitor_api/src/utils/response/class-response.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/autoload.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/composer (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/composer/ClassLoader.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/composer/LICENSE (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/composer/autoload_classmap.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/composer/autoload_files.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/composer/autoload_namespaces.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/composer/autoload_psr4.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/composer/autoload_real.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/composer/autoload_static.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/composer/installed.json (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/.gitignore (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/.travis.yml (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/LICENSE (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/README.md (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/bin (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/bin/generate_method_docs.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/composer.json (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/lib (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/lib/Assert (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/lib/Assert/Assertion.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/lib/Assert/AssertionChain.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/lib/Assert/AssertionFailedException.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/lib/Assert/InvalidArgumentException.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/lib/Assert/LazyAssertion.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/lib/Assert/LazyAssertionException.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/lib/Assert/functions.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/phpunit.xml.dist (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/tests (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/tests/Assert (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/tests/Assert/Tests (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/tests/Assert/Tests/AssertTest.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/tests/Assert/Tests/AssertionChainTest.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/tests/Assert/Tests/LazyAssertionTest.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/assert/tests/bootstrap.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/helper (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/helper/.gitignore (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/helper/composer.json (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/helper/ghostmonitor (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/helper/ghostmonitor/Helper.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/helper/ghostmonitor/Logger.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/logentries (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/logentries/.gitignore (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/logentries/.travis.yml (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/logentries/LeLogger.php (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/logentries/README.md (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/logentries/composer.json (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/logentries/phpunit.xml (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/logentries/unit_tests (added)
-
tags/1.12.13/includes/ghostmonitor_helper/vendor/ghostmonitor/logentries/unit_tests/LeLoggerTests.php (added)
-
tags/1.12.13/readme.txt (added)
-
tags/1.12.13/woocommerce-ghostmonitor.php (added)
-
trunk/config.json (modified) (1 diff)
-
trunk/includes/class-wc-ghostmonitor.php (modified) (7 diffs)
-
trunk/includes/ghostmonitor_helper/vendor/autoload.php (modified) (1 diff)
-
trunk/includes/ghostmonitor_helper/vendor/composer/autoload_real.php (modified) (5 diffs)
-
trunk/includes/ghostmonitor_helper/vendor/composer/autoload_static.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/woocommerce-ghostmonitor.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ghostmonitor/trunk/config.json
r2138183 r2147618 4 4 "settingsUrl": "https://api.recart.com/tracking/v2/settings/", 5 5 "cdnUrl": "https://cdn.ghostmonitor.com", 6 "version": "v1.12.1 2",6 "version": "v1.12.13", 7 7 "logentriesToken": "d3695c56-67af-4c86-8c7d-26c6c252987b", 8 8 "env": "production" -
ghostmonitor/trunk/includes/class-wc-ghostmonitor.php
r2138183 r2147618 351 351 $order_items = $order->get_items(); 352 352 353 $currency = $order->get_currency(); 353 354 $cart_items = array(); 354 355 $cart_items_count = 0; … … 379 380 'qty' => $i['qty'], 380 381 'productUrl' => get_permalink($i['product_id']), 382 'currency' => $currency 381 383 ); 382 384 … … 392 394 'name' => 'Shipping', 393 395 'qty' => 1, 396 'currency' => $currency 394 397 ); 395 398 … … 403 406 'itemCount' => $cart_items_count, 404 407 'email' => $order->billing_email, 408 'currency' => $currency 405 409 ); 406 410 … … 431 435 } 432 436 437 $currency = get_woocommerce_currency(); 433 438 foreach (WC()->cart->get_cart() as $cart_item_key => $cart_item_data) { 434 439 $gm_cart_item = array(); … … 457 462 $gm_cart_item['qty'] = $cart_item_data['quantity']; 458 463 $gm_cart_item['productUrl'] = get_permalink($cart_item_data['product_id']); 464 $gm_cart_item['currency'] = $currency; 459 465 460 466 if (isset($cart_item_data['variation_id']) && $cart_item_data['variation_id'] != '') { … … 482 488 'value' => $this->format_money(WC()->cart->cart_contents_total + WC()->cart->tax_total), 483 489 'itemCount' => WC()->cart->cart_contents_count, 490 'currency' => $currency 484 491 ); 485 492 -
ghostmonitor/trunk/includes/ghostmonitor_helper/vendor/autoload.php
r2138183 r2147618 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit a572104eddc8372d401297cdd217c0ce::getLoader();7 return ComposerAutoloaderInit9938951a56929b30baa58fb8c678a723::getLoader(); -
ghostmonitor/trunk/includes/ghostmonitor_helper/vendor/composer/autoload_real.php
r2138183 r2147618 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit a572104eddc8372d401297cdd217c0ce5 class ComposerAutoloaderInit9938951a56929b30baa58fb8c678a723 6 6 { 7 7 private static $loader; … … 20 20 } 21 21 22 spl_autoload_register(array('ComposerAutoloaderInit a572104eddc8372d401297cdd217c0ce', 'loadClassLoader'), true, true);22 spl_autoload_register(array('ComposerAutoloaderInit9938951a56929b30baa58fb8c678a723', 'loadClassLoader'), true, true); 23 23 self::$loader = $loader = new \Composer\Autoload\ClassLoader(); 24 spl_autoload_unregister(array('ComposerAutoloaderInit a572104eddc8372d401297cdd217c0ce', 'loadClassLoader'));24 spl_autoload_unregister(array('ComposerAutoloaderInit9938951a56929b30baa58fb8c678a723', 'loadClassLoader')); 25 25 26 26 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 28 28 require_once __DIR__ . '/autoload_static.php'; 29 29 30 call_user_func(\Composer\Autoload\ComposerStaticInit a572104eddc8372d401297cdd217c0ce::getInitializer($loader));30 call_user_func(\Composer\Autoload\ComposerStaticInit9938951a56929b30baa58fb8c678a723::getInitializer($loader)); 31 31 } else { 32 32 $map = require __DIR__ . '/autoload_namespaces.php'; … … 49 49 50 50 if ($useStaticLoader) { 51 $includeFiles = Composer\Autoload\ComposerStaticInit a572104eddc8372d401297cdd217c0ce::$files;51 $includeFiles = Composer\Autoload\ComposerStaticInit9938951a56929b30baa58fb8c678a723::$files; 52 52 } else { 53 53 $includeFiles = require __DIR__ . '/autoload_files.php'; 54 54 } 55 55 foreach ($includeFiles as $fileIdentifier => $file) { 56 composerRequire a572104eddc8372d401297cdd217c0ce($fileIdentifier, $file);56 composerRequire9938951a56929b30baa58fb8c678a723($fileIdentifier, $file); 57 57 } 58 58 … … 61 61 } 62 62 63 function composerRequire a572104eddc8372d401297cdd217c0ce($fileIdentifier, $file)63 function composerRequire9938951a56929b30baa58fb8c678a723($fileIdentifier, $file) 64 64 { 65 65 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
ghostmonitor/trunk/includes/ghostmonitor_helper/vendor/composer/autoload_static.php
r2138183 r2147618 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit a572104eddc8372d401297cdd217c0ce7 class ComposerStaticInit9938951a56929b30baa58fb8c678a723 8 8 { 9 9 public static $files = array ( … … 46 46 { 47 47 return \Closure::bind(function () use ($loader) { 48 $loader->prefixLengthsPsr4 = ComposerStaticInit a572104eddc8372d401297cdd217c0ce::$prefixLengthsPsr4;49 $loader->prefixDirsPsr4 = ComposerStaticInit a572104eddc8372d401297cdd217c0ce::$prefixDirsPsr4;50 $loader->prefixesPsr0 = ComposerStaticInit a572104eddc8372d401297cdd217c0ce::$prefixesPsr0;48 $loader->prefixLengthsPsr4 = ComposerStaticInit9938951a56929b30baa58fb8c678a723::$prefixLengthsPsr4; 49 $loader->prefixDirsPsr4 = ComposerStaticInit9938951a56929b30baa58fb8c678a723::$prefixDirsPsr4; 50 $loader->prefixesPsr0 = ComposerStaticInit9938951a56929b30baa58fb8c678a723::$prefixesPsr0; 51 51 52 52 }, null, ClassLoader::class); -
ghostmonitor/trunk/readme.txt
r2138183 r2147618 4 4 Requires at least: 3.9 5 5 Tested up to: 5.0.0 6 Stable tag: 1.12.1 26 Stable tag: 1.12.13 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
ghostmonitor/trunk/woocommerce-ghostmonitor.php
r2138183 r2147618 6 6 * Author: Ghostmonitor INC 7 7 * Author URI: http://www.recart.com 8 * Version: v1.12.1 28 * Version: v1.12.13 9 9 */ 10 10 … … 44 44 global $wp_version; 45 45 46 $version = 'v1.12.1 2';46 $version = 'v1.12.13'; 47 47 48 48 $discount_enabled = get_option('woocommerce_enable_coupons') === 'yes' ? 'true' : 'false';
Note: See TracChangeset
for help on using the changeset viewer.