Changeset 1544080
- Timestamp:
- 12/01/2016 03:01:55 PM (9 years ago)
- Location:
- ghostmonitor
- Files:
-
- 8 edited
-
tags/1.8.0/includes/class-wc-ghostmonitor.php (modified) (2 diffs)
-
tags/1.8.0/includes/ghostmonitor_helper/vendor/autoload.php (modified) (1 diff)
-
tags/1.8.0/includes/ghostmonitor_helper/vendor/composer/autoload_real.php (modified) (4 diffs)
-
tags/1.8.0/readme.txt (modified) (1 diff)
-
trunk/includes/class-wc-ghostmonitor.php (modified) (2 diffs)
-
trunk/includes/ghostmonitor_helper/vendor/autoload.php (modified) (1 diff)
-
trunk/includes/ghostmonitor_helper/vendor/composer/autoload_real.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ghostmonitor/tags/1.8.0/includes/class-wc-ghostmonitor.php
r1507502 r1544080 442 442 } 443 443 444 $product_name = $this->escape_for_json( apply_filters( 'woocommerce_cart_item_name', $_product->get_title(), $cart_item_data, $cart_item_key ));444 $product_name = apply_filters( 'woocommerce_cart_item_name', $_product->get_title(), $cart_item_data, $cart_item_key ); 445 445 $product_name = html_entity_decode( $product_name ); 446 446 … … 646 646 } 647 647 648 private function escape_for_json( $str ) {649 return str_ireplace( "'", "\'", $str );650 }651 652 648 private function woocommerce_version_check( $version = '2.3.3' ) { 653 649 global $woocommerce; -
ghostmonitor/tags/1.8.0/includes/ghostmonitor_helper/vendor/autoload.php
r1507507 r1544080 5 5 require_once __DIR__ . '/composer' . '/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 47cc4c6cd68b208020bc235b14b22e7f::getLoader();7 return ComposerAutoloaderInit5cd9ceb899fd115fdc354e5c3eaa6e23::getLoader(); -
ghostmonitor/tags/1.8.0/includes/ghostmonitor_helper/vendor/composer/autoload_real.php
r1507507 r1544080 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 47cc4c6cd68b208020bc235b14b22e7f5 class ComposerAutoloaderInit5cd9ceb899fd115fdc354e5c3eaa6e23 6 6 { 7 7 private static $loader; … … 20 20 } 21 21 22 spl_autoload_register(array('ComposerAutoloaderInit 47cc4c6cd68b208020bc235b14b22e7f', 'loadClassLoader'), true, true);22 spl_autoload_register(array('ComposerAutoloaderInit5cd9ceb899fd115fdc354e5c3eaa6e23', 'loadClassLoader'), true, true); 23 23 self::$loader = $loader = new \Composer\Autoload\ClassLoader(); 24 spl_autoload_unregister(array('ComposerAutoloaderInit 47cc4c6cd68b208020bc235b14b22e7f', 'loadClassLoader'));24 spl_autoload_unregister(array('ComposerAutoloaderInit5cd9ceb899fd115fdc354e5c3eaa6e23', 'loadClassLoader')); 25 25 26 26 $map = require __DIR__ . '/autoload_namespaces.php'; … … 43 43 $includeFiles = require __DIR__ . '/autoload_files.php'; 44 44 foreach ($includeFiles as $fileIdentifier => $file) { 45 composerRequire 47cc4c6cd68b208020bc235b14b22e7f($fileIdentifier, $file);45 composerRequire5cd9ceb899fd115fdc354e5c3eaa6e23($fileIdentifier, $file); 46 46 } 47 47 … … 50 50 } 51 51 52 function composerRequire 47cc4c6cd68b208020bc235b14b22e7f($fileIdentifier, $file)52 function composerRequire5cd9ceb899fd115fdc354e5c3eaa6e23($fileIdentifier, $file) 53 53 { 54 54 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
ghostmonitor/tags/1.8.0/readme.txt
r1507507 r1544080 115 115 == Changelog == 116 116 117 = 1.8.1 = 118 * JSON escape fix 119 117 120 = 1.8.0 = 118 121 * Compatibility update: WordPress 4.6.1, WooCommerce 2.6.4 -
ghostmonitor/trunk/includes/class-wc-ghostmonitor.php
r1507502 r1544080 442 442 } 443 443 444 $product_name = $this->escape_for_json( apply_filters( 'woocommerce_cart_item_name', $_product->get_title(), $cart_item_data, $cart_item_key ));444 $product_name = apply_filters( 'woocommerce_cart_item_name', $_product->get_title(), $cart_item_data, $cart_item_key ); 445 445 $product_name = html_entity_decode( $product_name ); 446 446 … … 646 646 } 647 647 648 private function escape_for_json( $str ) {649 return str_ireplace( "'", "\'", $str );650 }651 652 648 private function woocommerce_version_check( $version = '2.3.3' ) { 653 649 global $woocommerce; -
ghostmonitor/trunk/includes/ghostmonitor_helper/vendor/autoload.php
r1507507 r1544080 5 5 require_once __DIR__ . '/composer' . '/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 47cc4c6cd68b208020bc235b14b22e7f::getLoader();7 return ComposerAutoloaderInit5cd9ceb899fd115fdc354e5c3eaa6e23::getLoader(); -
ghostmonitor/trunk/includes/ghostmonitor_helper/vendor/composer/autoload_real.php
r1507507 r1544080 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 47cc4c6cd68b208020bc235b14b22e7f5 class ComposerAutoloaderInit5cd9ceb899fd115fdc354e5c3eaa6e23 6 6 { 7 7 private static $loader; … … 20 20 } 21 21 22 spl_autoload_register(array('ComposerAutoloaderInit 47cc4c6cd68b208020bc235b14b22e7f', 'loadClassLoader'), true, true);22 spl_autoload_register(array('ComposerAutoloaderInit5cd9ceb899fd115fdc354e5c3eaa6e23', 'loadClassLoader'), true, true); 23 23 self::$loader = $loader = new \Composer\Autoload\ClassLoader(); 24 spl_autoload_unregister(array('ComposerAutoloaderInit 47cc4c6cd68b208020bc235b14b22e7f', 'loadClassLoader'));24 spl_autoload_unregister(array('ComposerAutoloaderInit5cd9ceb899fd115fdc354e5c3eaa6e23', 'loadClassLoader')); 25 25 26 26 $map = require __DIR__ . '/autoload_namespaces.php'; … … 43 43 $includeFiles = require __DIR__ . '/autoload_files.php'; 44 44 foreach ($includeFiles as $fileIdentifier => $file) { 45 composerRequire 47cc4c6cd68b208020bc235b14b22e7f($fileIdentifier, $file);45 composerRequire5cd9ceb899fd115fdc354e5c3eaa6e23($fileIdentifier, $file); 46 46 } 47 47 … … 50 50 } 51 51 52 function composerRequire 47cc4c6cd68b208020bc235b14b22e7f($fileIdentifier, $file)52 function composerRequire5cd9ceb899fd115fdc354e5c3eaa6e23($fileIdentifier, $file) 53 53 { 54 54 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
ghostmonitor/trunk/readme.txt
r1507507 r1544080 115 115 == Changelog == 116 116 117 = 1.8.1 = 118 * JSON escape fix 119 117 120 = 1.8.0 = 118 121 * Compatibility update: WordPress 4.6.1, WooCommerce 2.6.4
Note: See TracChangeset
for help on using the changeset viewer.