Changeset 3323344
- Timestamp:
- 07/07/2025 08:56:40 AM (9 months ago)
- Location:
- livechat-elementor
- Files:
-
- 2 added
- 24 edited
-
tags/5.0.6/changelog.txt (modified) (1 diff)
-
tags/5.0.6/includes/elementor-functions.php (modified) (1 diff)
-
tags/5.0.6/includes/functions.php (modified) (1 diff)
-
tags/5.0.6/includes/plugin.php (modified) (1 diff)
-
tags/5.0.6/includes/woocommerce-functions.php (added)
-
tags/5.0.6/livechat.php (modified) (2 diffs)
-
tags/5.0.6/readme.txt (modified) (3 diffs)
-
tags/5.0.6/vendor/autoload.php (modified) (1 diff)
-
tags/5.0.6/vendor/composer/InstalledVersions.php (modified) (3 diffs)
-
tags/5.0.6/vendor/composer/autoload_files.php (modified) (1 diff)
-
tags/5.0.6/vendor/composer/autoload_real.php (modified) (2 diffs)
-
tags/5.0.6/vendor/composer/autoload_static.php (modified) (2 diffs)
-
tags/5.0.6/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/includes/elementor-functions.php (modified) (1 diff)
-
trunk/includes/functions.php (modified) (1 diff)
-
trunk/includes/plugin.php (modified) (1 diff)
-
trunk/includes/woocommerce-functions.php (added)
-
trunk/livechat.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/composer/InstalledVersions.php (modified) (3 diffs)
-
trunk/vendor/composer/autoload_files.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_real.php (modified) (2 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (2 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
livechat-elementor/tags/5.0.6/changelog.txt
r3323322 r3323344 1 1 == Changelog == 2 3 = 5.0.6 = 4 * updated plugin name 5 6 = 5.0.5 = 7 * added SKU property to cart tracking 8 9 = 5.0.4 = 10 * fixed WooCommerce cart discounts return type 11 12 = 5.0.3 = 13 * fixed WooCommerce cart tracking issue 2 14 3 15 = 5.0.2 = -
livechat-elementor/tags/5.0.6/includes/elementor-functions.php
r3323322 r3323344 8 8 namespace LiveChat; 9 9 10 use Elementor\Plugin;11 use LiveChat\Widgets\TextQualityBadgeWidget;12 13 10 /** 14 11 * Register Elementor categories 15 12 */ 16 13 function text_register_categories() { 17 $elementor = Plugin::instance();14 $elementor = \Elementor\Plugin::instance(); 18 15 19 16 $elementor->elements_manager->add_category( -
livechat-elementor/tags/5.0.6/includes/functions.php
r3323322 r3323344 9 9 10 10 use stdClass; 11 use WP_User;12 11 13 12 define( 'TEXT_TOKEN_DATA_DB_KEY', 'token_data' ); 14 15 /**16 * Get numeric value from string.17 *18 * @param string $value Stringified numeric value.19 * @return string20 */21 function get_numeric_value_from_string( string $value ): float {22 return floatval( preg_replace( '/[^\d\.]/', '', $value ) );23 }24 25 /**26 * Get the WooCommerce product variant title.27 *28 * @param array $variation The product variation.29 * @return string30 */31 function get_variant_title( array $variation ): string {32 $variant_title = '';33 34 foreach ( $variation as $attribute_name => $attribute_value ) {35 // Output the variation attribute values (e.g., "Large / black").36 $variant_title .= $attribute_value . ' / ';37 }38 39 // remove the last ' / '.40 return rtrim( $variant_title, ' / ' );41 }42 43 /**44 * Get the WooCommerce cart.45 *46 * @param \WC_Cart $cart The WooCommerce cart.47 * @param string $currency The currency.48 * @return void49 */50 function text_get_cart( \WC_Cart $cart, string $currency ): void {51 $response = new stdClass();52 53 $response->currency = $currency;54 $response->total = get_numeric_value_from_string( $cart->get_cart_contents_total() );55 $response->subtotal = get_numeric_value_from_string( $cart->get_subtotal() );56 57 $response->items = array();58 59 $items = $cart->get_cart_contents();60 61 $product_ids = array();62 foreach ( $items as $item ) {63 $product_ids[] = $item['product_id'];64 }65 66 $products = wc_get_products(67 array(68 'include' => $product_ids,69 )70 );71 72 foreach ( $items as $item ) {73 $product = $products[ array_search( $item['product_id'], array_column( $products, 'id' ), true ) ];74 75 $subtotal = $item['line_subtotal'];76 $value = $item['line_total'];77 78 $discount = $subtotal - $value;79 80 $response->items[] = array(81 'id' => $item['product_id'],82 'thumbnailUrl' => get_the_post_thumbnail_url( $product->get_id(), 'shop_thumbnail' ),83 'title' => $product->get_name(),84 'variantTitle' => get_variant_title( $item['variation'] ),85 'variantId' => $item['variation_id'],86 'discounts' => array(87 'amount' => $discount,88 ),89 'qty' => $item['quantity'],90 'value' => $value,91 'productPreviewUrl' => $product->get_permalink(),92 );93 }94 95 wp_send_json_success( $response );96 }97 13 98 14 /** -
livechat-elementor/tags/5.0.6/includes/plugin.php
r3323322 r3323344 107 107 class_exists( '\Elementor\Plugin' ) 108 108 ); 109 }110 111 /**112 * Refresh cart action for CI.113 *114 * @return void115 */116 function refresh_cart_action(): void {117 $woocommerce = WC();118 119 $cart = $woocommerce->cart;120 121 text_get_cart( $cart, get_woocommerce_currency() );122 109 } 123 110 -
livechat-elementor/tags/5.0.6/livechat.php
r3323322 r3323344 10 10 * Plugin URI: https://www.livechat.com/marketplace/apps/elementor 11 11 * Description: Live chat software for live help, online sales and customer support. This plugin allows to quickly install LiveChat on any WordPress website. 12 * Version: 5.0. 212 * Version: 5.0.6 13 13 * Author: LiveChat 14 14 * Author URI: https://www.livechat.com … … 28 28 require_once __DIR__ . '/vendor/autoload.php'; 29 29 30 define( 'TEXT_PLUGIN_VERSION', '5.0. 2' );30 define( 'TEXT_PLUGIN_VERSION', '5.0.6' ); 31 31 define( 'TEXT_PLUGIN_DIR', __DIR__ ); 32 32 define( 'TEXT_PLUGIN_BASE', plugin_basename( __FILE__ ) ); -
livechat-elementor/tags/5.0.6/readme.txt
r3323322 r3323344 1 === WordPressLive Chat Plugin for Elementor - LiveChat ===1 === Live Chat Plugin for Elementor - LiveChat === 2 2 Contributors: LiveChat 3 3 Tags: live chat, wordpress chat, elementor, wordpress live chat, chat plugin 4 Stable tag: 5.0. 24 Stable tag: 5.0.6 5 5 Requires PHP: 7.2 6 Tested up to: 6.8 6 Tested up to: 6.8.1 7 7 Requires at least: 4.4 8 8 License: GNU General Public License v3.0 … … 88 88 == Changelog == 89 89 90 = 5.0.6 = 91 * updated plugin name 92 93 = 5.0.5 = 94 * added SKU property to cart tracking 95 96 = 5.0.4 = 97 * fixed WooCommerce cart discounts return type 98 99 = 5.0.3 = 100 * fixed WooCommerce cart tracking issue 101 102 = 5.0.2 = 103 * checked plugin compatibility with WordPress 6.8 104 90 105 = 5.0.1 = 91 106 * added missing changelog entry … … 99 114 = 1.0.23 = 100 115 * fix readme.txt tags 101 102 = 1.0.22 =103 * fix readme.txt short description104 105 = 1.0.21 =106 * checked plugin compatibility with WordPress 6.7107 108 = 1.0.20 =109 * checked plugin compatibility with WordPress 6.6110 111 = 1.0.19 =112 * fixed deprecation warnings for PHP 8.2+113 114 = 1.0.18 =115 * fixed plugin attached if woocommerce is active116 117 = 1.0.17 =118 * checked plugin compatibility with WordPress 6.5119 120 = 1.0.16 =121 * update firebase/php-jwt package to 6.4.0122 123 = 1.0.15 =124 * pass variable instead of reference when calling JWT::decode125 126 = 1.0.14 =127 * fixed CSRF vulnerability128 129 = 1.0.13 =130 * fixed error with firebase/php-jwt package131 132 = 1.0.12 =133 * checked plugin compatibility with WordPress 6.4134 135 = 1.0.11 =136 * changelog and plugin cleanup137 138 = 1.0.10 =139 * fixed non escaped characters in regexes stored in config file140 141 = 1.0.9 =142 * checked plugin compatibility with WordPress 6.3143 144 = 1.0.8 =145 * checked plugin compatibility with WordPress 6.2.2146 147 = 1.0.7 =148 * fix for 'Attempt to read property "slug" on array' for PHP v8+149 150 = 1.0.6 =151 * support for Elementor plugin v3.5+152 153 = 1.0.5 =154 * fix on hiding review notice155 156 = 1.0.4 =157 * fix on hiding review notice158 159 = 1.0.3 =160 * checked plugin compatibility with WordPress 6.0161 162 = 1.0.2 =163 * checked plugin compatibility with WordPress 5.9164 165 = 1.0.1 =166 * fixed loading custom fonts in Elementor167 168 = 1.0.0 =169 * First live chat plugin version -
livechat-elementor/tags/5.0.6/vendor/autoload.php
r3323322 r3323344 15 15 } 16 16 } 17 trigger_error( 18 $err, 19 E_USER_ERROR 20 ); 17 throw new RuntimeException($err); 21 18 } 22 19 23 20 require_once __DIR__ . '/composer/autoload_real.php'; 24 21 25 return ComposerAutoloaderInit b3beefd062fadd99380c1fcefe26370c::getLoader();22 return ComposerAutoloaderInit525df3e329a675ac734f6c892aec722a::getLoader(); -
livechat-elementor/tags/5.0.6/vendor/composer/InstalledVersions.php
r3323322 r3323344 27 27 class InstalledVersions 28 28 { 29 /** 30 * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to 31 * @internal 32 */ 33 private static $selfDir = null; 34 29 35 /** 30 36 * @var mixed[]|null … … 324 330 325 331 /** 332 * @return string 333 */ 334 private static function getSelfDir() 335 { 336 if (self::$selfDir === null) { 337 self::$selfDir = strtr(__DIR__, '\\', '/'); 338 } 339 340 return self::$selfDir; 341 } 342 343 /** 326 344 * @return array[] 327 345 * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}> … … 337 355 338 356 if (self::$canGetVendors) { 339 $selfDir = s trtr(__DIR__, '\\', '/');357 $selfDir = self::getSelfDir(); 340 358 foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { 341 359 $vendorDir = strtr($vendorDir, '\\', '/'); -
livechat-elementor/tags/5.0.6/vendor/composer/autoload_files.php
r3323322 r3323344 8 8 return array( 9 9 'fdba9c6585915947dfbaba492ebdeb35' => $baseDir . '/includes/functions.php', 10 '0d0c3925431d2dc9cad1fc04818f5506' => $baseDir . '/includes/woocommerce-functions.php', 10 11 '82c376d2fd15f380fa57637d9a2c92a2' => $baseDir . '/includes/elementor-functions.php', 11 12 '370860d146a14b75751520f01cbc9c8c' => $baseDir . '/includes/routes/diagnose.php', -
livechat-elementor/tags/5.0.6/vendor/composer/autoload_real.php
r3323322 r3323344 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit b3beefd062fadd99380c1fcefe26370c5 class ComposerAutoloaderInit525df3e329a675ac734f6c892aec722a 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit b3beefd062fadd99380c1fcefe26370c', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInit525df3e329a675ac734f6c892aec722a', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit b3beefd062fadd99380c1fcefe26370c', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInit525df3e329a675ac734f6c892aec722a', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit b3beefd062fadd99380c1fcefe26370c::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInit525df3e329a675ac734f6c892aec722a::getInitializer($loader)); 33 33 34 34 $loader->register(true); 35 35 36 $filesToLoad = \Composer\Autoload\ComposerStaticInit b3beefd062fadd99380c1fcefe26370c::$files;36 $filesToLoad = \Composer\Autoload\ComposerStaticInit525df3e329a675ac734f6c892aec722a::$files; 37 37 $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { 38 38 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
livechat-elementor/tags/5.0.6/vendor/composer/autoload_static.php
r3323322 r3323344 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit b3beefd062fadd99380c1fcefe26370c7 class ComposerStaticInit525df3e329a675ac734f6c892aec722a 8 8 { 9 9 public static $files = array ( 10 10 'fdba9c6585915947dfbaba492ebdeb35' => __DIR__ . '/../..' . '/includes/functions.php', 11 '0d0c3925431d2dc9cad1fc04818f5506' => __DIR__ . '/../..' . '/includes/woocommerce-functions.php', 11 12 '82c376d2fd15f380fa57637d9a2c92a2' => __DIR__ . '/../..' . '/includes/elementor-functions.php', 12 13 '370860d146a14b75751520f01cbc9c8c' => __DIR__ . '/../..' . '/includes/routes/diagnose.php', … … 48 49 { 49 50 return \Closure::bind(function () use ($loader) { 50 $loader->prefixLengthsPsr4 = ComposerStaticInit b3beefd062fadd99380c1fcefe26370c::$prefixLengthsPsr4;51 $loader->prefixDirsPsr4 = ComposerStaticInit b3beefd062fadd99380c1fcefe26370c::$prefixDirsPsr4;52 $loader->classMap = ComposerStaticInit b3beefd062fadd99380c1fcefe26370c::$classMap;51 $loader->prefixLengthsPsr4 = ComposerStaticInit525df3e329a675ac734f6c892aec722a::$prefixLengthsPsr4; 52 $loader->prefixDirsPsr4 = ComposerStaticInit525df3e329a675ac734f6c892aec722a::$prefixDirsPsr4; 53 $loader->classMap = ComposerStaticInit525df3e329a675ac734f6c892aec722a::$classMap; 53 54 54 55 }, null, ClassLoader::class); -
livechat-elementor/tags/5.0.6/vendor/composer/installed.php
r3323322 r3323344 2 2 'root' => array( 3 3 'name' => 'livechatinc/wordpress-integration', 4 'pretty_version' => ' 0.1.0',5 'version' => ' 0.1.0.0',4 'pretty_version' => '5.0.6', 5 'version' => '5.0.6.0', 6 6 'reference' => null, 7 7 'type' => 'wordpress-module', … … 21 21 ), 22 22 'livechatinc/wordpress-integration' => array( 23 'pretty_version' => ' 0.1.0',24 'version' => ' 0.1.0.0',23 'pretty_version' => '5.0.6', 24 'version' => '5.0.6.0', 25 25 'reference' => null, 26 26 'type' => 'wordpress-module', -
livechat-elementor/trunk/changelog.txt
r3323322 r3323344 1 1 == Changelog == 2 3 = 5.0.6 = 4 * updated plugin name 5 6 = 5.0.5 = 7 * added SKU property to cart tracking 8 9 = 5.0.4 = 10 * fixed WooCommerce cart discounts return type 11 12 = 5.0.3 = 13 * fixed WooCommerce cart tracking issue 2 14 3 15 = 5.0.2 = -
livechat-elementor/trunk/includes/elementor-functions.php
r3323322 r3323344 8 8 namespace LiveChat; 9 9 10 use Elementor\Plugin;11 use LiveChat\Widgets\TextQualityBadgeWidget;12 13 10 /** 14 11 * Register Elementor categories 15 12 */ 16 13 function text_register_categories() { 17 $elementor = Plugin::instance();14 $elementor = \Elementor\Plugin::instance(); 18 15 19 16 $elementor->elements_manager->add_category( -
livechat-elementor/trunk/includes/functions.php
r3323322 r3323344 9 9 10 10 use stdClass; 11 use WP_User;12 11 13 12 define( 'TEXT_TOKEN_DATA_DB_KEY', 'token_data' ); 14 15 /**16 * Get numeric value from string.17 *18 * @param string $value Stringified numeric value.19 * @return string20 */21 function get_numeric_value_from_string( string $value ): float {22 return floatval( preg_replace( '/[^\d\.]/', '', $value ) );23 }24 25 /**26 * Get the WooCommerce product variant title.27 *28 * @param array $variation The product variation.29 * @return string30 */31 function get_variant_title( array $variation ): string {32 $variant_title = '';33 34 foreach ( $variation as $attribute_name => $attribute_value ) {35 // Output the variation attribute values (e.g., "Large / black").36 $variant_title .= $attribute_value . ' / ';37 }38 39 // remove the last ' / '.40 return rtrim( $variant_title, ' / ' );41 }42 43 /**44 * Get the WooCommerce cart.45 *46 * @param \WC_Cart $cart The WooCommerce cart.47 * @param string $currency The currency.48 * @return void49 */50 function text_get_cart( \WC_Cart $cart, string $currency ): void {51 $response = new stdClass();52 53 $response->currency = $currency;54 $response->total = get_numeric_value_from_string( $cart->get_cart_contents_total() );55 $response->subtotal = get_numeric_value_from_string( $cart->get_subtotal() );56 57 $response->items = array();58 59 $items = $cart->get_cart_contents();60 61 $product_ids = array();62 foreach ( $items as $item ) {63 $product_ids[] = $item['product_id'];64 }65 66 $products = wc_get_products(67 array(68 'include' => $product_ids,69 )70 );71 72 foreach ( $items as $item ) {73 $product = $products[ array_search( $item['product_id'], array_column( $products, 'id' ), true ) ];74 75 $subtotal = $item['line_subtotal'];76 $value = $item['line_total'];77 78 $discount = $subtotal - $value;79 80 $response->items[] = array(81 'id' => $item['product_id'],82 'thumbnailUrl' => get_the_post_thumbnail_url( $product->get_id(), 'shop_thumbnail' ),83 'title' => $product->get_name(),84 'variantTitle' => get_variant_title( $item['variation'] ),85 'variantId' => $item['variation_id'],86 'discounts' => array(87 'amount' => $discount,88 ),89 'qty' => $item['quantity'],90 'value' => $value,91 'productPreviewUrl' => $product->get_permalink(),92 );93 }94 95 wp_send_json_success( $response );96 }97 13 98 14 /** -
livechat-elementor/trunk/includes/plugin.php
r3323322 r3323344 107 107 class_exists( '\Elementor\Plugin' ) 108 108 ); 109 }110 111 /**112 * Refresh cart action for CI.113 *114 * @return void115 */116 function refresh_cart_action(): void {117 $woocommerce = WC();118 119 $cart = $woocommerce->cart;120 121 text_get_cart( $cart, get_woocommerce_currency() );122 109 } 123 110 -
livechat-elementor/trunk/livechat.php
r3323322 r3323344 10 10 * Plugin URI: https://www.livechat.com/marketplace/apps/elementor 11 11 * Description: Live chat software for live help, online sales and customer support. This plugin allows to quickly install LiveChat on any WordPress website. 12 * Version: 5.0. 212 * Version: 5.0.6 13 13 * Author: LiveChat 14 14 * Author URI: https://www.livechat.com … … 28 28 require_once __DIR__ . '/vendor/autoload.php'; 29 29 30 define( 'TEXT_PLUGIN_VERSION', '5.0. 2' );30 define( 'TEXT_PLUGIN_VERSION', '5.0.6' ); 31 31 define( 'TEXT_PLUGIN_DIR', __DIR__ ); 32 32 define( 'TEXT_PLUGIN_BASE', plugin_basename( __FILE__ ) ); -
livechat-elementor/trunk/readme.txt
r3323322 r3323344 1 === WordPressLive Chat Plugin for Elementor - LiveChat ===1 === Live Chat Plugin for Elementor - LiveChat === 2 2 Contributors: LiveChat 3 3 Tags: live chat, wordpress chat, elementor, wordpress live chat, chat plugin 4 Stable tag: 5.0. 24 Stable tag: 5.0.6 5 5 Requires PHP: 7.2 6 Tested up to: 6.8 6 Tested up to: 6.8.1 7 7 Requires at least: 4.4 8 8 License: GNU General Public License v3.0 … … 88 88 == Changelog == 89 89 90 = 5.0.6 = 91 * updated plugin name 92 93 = 5.0.5 = 94 * added SKU property to cart tracking 95 96 = 5.0.4 = 97 * fixed WooCommerce cart discounts return type 98 99 = 5.0.3 = 100 * fixed WooCommerce cart tracking issue 101 102 = 5.0.2 = 103 * checked plugin compatibility with WordPress 6.8 104 90 105 = 5.0.1 = 91 106 * added missing changelog entry … … 99 114 = 1.0.23 = 100 115 * fix readme.txt tags 101 102 = 1.0.22 =103 * fix readme.txt short description104 105 = 1.0.21 =106 * checked plugin compatibility with WordPress 6.7107 108 = 1.0.20 =109 * checked plugin compatibility with WordPress 6.6110 111 = 1.0.19 =112 * fixed deprecation warnings for PHP 8.2+113 114 = 1.0.18 =115 * fixed plugin attached if woocommerce is active116 117 = 1.0.17 =118 * checked plugin compatibility with WordPress 6.5119 120 = 1.0.16 =121 * update firebase/php-jwt package to 6.4.0122 123 = 1.0.15 =124 * pass variable instead of reference when calling JWT::decode125 126 = 1.0.14 =127 * fixed CSRF vulnerability128 129 = 1.0.13 =130 * fixed error with firebase/php-jwt package131 132 = 1.0.12 =133 * checked plugin compatibility with WordPress 6.4134 135 = 1.0.11 =136 * changelog and plugin cleanup137 138 = 1.0.10 =139 * fixed non escaped characters in regexes stored in config file140 141 = 1.0.9 =142 * checked plugin compatibility with WordPress 6.3143 144 = 1.0.8 =145 * checked plugin compatibility with WordPress 6.2.2146 147 = 1.0.7 =148 * fix for 'Attempt to read property "slug" on array' for PHP v8+149 150 = 1.0.6 =151 * support for Elementor plugin v3.5+152 153 = 1.0.5 =154 * fix on hiding review notice155 156 = 1.0.4 =157 * fix on hiding review notice158 159 = 1.0.3 =160 * checked plugin compatibility with WordPress 6.0161 162 = 1.0.2 =163 * checked plugin compatibility with WordPress 5.9164 165 = 1.0.1 =166 * fixed loading custom fonts in Elementor167 168 = 1.0.0 =169 * First live chat plugin version -
livechat-elementor/trunk/vendor/autoload.php
r3323322 r3323344 15 15 } 16 16 } 17 trigger_error( 18 $err, 19 E_USER_ERROR 20 ); 17 throw new RuntimeException($err); 21 18 } 22 19 23 20 require_once __DIR__ . '/composer/autoload_real.php'; 24 21 25 return ComposerAutoloaderInit b3beefd062fadd99380c1fcefe26370c::getLoader();22 return ComposerAutoloaderInit525df3e329a675ac734f6c892aec722a::getLoader(); -
livechat-elementor/trunk/vendor/composer/InstalledVersions.php
r3323322 r3323344 27 27 class InstalledVersions 28 28 { 29 /** 30 * @var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to 31 * @internal 32 */ 33 private static $selfDir = null; 34 29 35 /** 30 36 * @var mixed[]|null … … 324 330 325 331 /** 332 * @return string 333 */ 334 private static function getSelfDir() 335 { 336 if (self::$selfDir === null) { 337 self::$selfDir = strtr(__DIR__, '\\', '/'); 338 } 339 340 return self::$selfDir; 341 } 342 343 /** 326 344 * @return array[] 327 345 * @psalm-return list<array{root: array{name: string, pretty_version: string, version: string, reference: string|null, type: string, install_path: string, aliases: string[], dev: bool}, versions: array<string, array{pretty_version?: string, version?: string, reference?: string|null, type?: string, install_path?: string, aliases?: string[], dev_requirement: bool, replaced?: string[], provided?: string[]}>}> … … 337 355 338 356 if (self::$canGetVendors) { 339 $selfDir = s trtr(__DIR__, '\\', '/');357 $selfDir = self::getSelfDir(); 340 358 foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { 341 359 $vendorDir = strtr($vendorDir, '\\', '/'); -
livechat-elementor/trunk/vendor/composer/autoload_files.php
r3323322 r3323344 8 8 return array( 9 9 'fdba9c6585915947dfbaba492ebdeb35' => $baseDir . '/includes/functions.php', 10 '0d0c3925431d2dc9cad1fc04818f5506' => $baseDir . '/includes/woocommerce-functions.php', 10 11 '82c376d2fd15f380fa57637d9a2c92a2' => $baseDir . '/includes/elementor-functions.php', 11 12 '370860d146a14b75751520f01cbc9c8c' => $baseDir . '/includes/routes/diagnose.php', -
livechat-elementor/trunk/vendor/composer/autoload_real.php
r3317017 r3323344 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit b3beefd062fadd99380c1fcefe26370c5 class ComposerAutoloaderInit525df3e329a675ac734f6c892aec722a 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit b3beefd062fadd99380c1fcefe26370c', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInit525df3e329a675ac734f6c892aec722a', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit b3beefd062fadd99380c1fcefe26370c', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInit525df3e329a675ac734f6c892aec722a', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit b3beefd062fadd99380c1fcefe26370c::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInit525df3e329a675ac734f6c892aec722a::getInitializer($loader)); 33 33 34 34 $loader->register(true); 35 35 36 $filesToLoad = \Composer\Autoload\ComposerStaticInit b3beefd062fadd99380c1fcefe26370c::$files;36 $filesToLoad = \Composer\Autoload\ComposerStaticInit525df3e329a675ac734f6c892aec722a::$files; 37 37 $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { 38 38 if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { -
livechat-elementor/trunk/vendor/composer/autoload_static.php
r3323322 r3323344 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit b3beefd062fadd99380c1fcefe26370c7 class ComposerStaticInit525df3e329a675ac734f6c892aec722a 8 8 { 9 9 public static $files = array ( 10 10 'fdba9c6585915947dfbaba492ebdeb35' => __DIR__ . '/../..' . '/includes/functions.php', 11 '0d0c3925431d2dc9cad1fc04818f5506' => __DIR__ . '/../..' . '/includes/woocommerce-functions.php', 11 12 '82c376d2fd15f380fa57637d9a2c92a2' => __DIR__ . '/../..' . '/includes/elementor-functions.php', 12 13 '370860d146a14b75751520f01cbc9c8c' => __DIR__ . '/../..' . '/includes/routes/diagnose.php', … … 48 49 { 49 50 return \Closure::bind(function () use ($loader) { 50 $loader->prefixLengthsPsr4 = ComposerStaticInit b3beefd062fadd99380c1fcefe26370c::$prefixLengthsPsr4;51 $loader->prefixDirsPsr4 = ComposerStaticInit b3beefd062fadd99380c1fcefe26370c::$prefixDirsPsr4;52 $loader->classMap = ComposerStaticInit b3beefd062fadd99380c1fcefe26370c::$classMap;51 $loader->prefixLengthsPsr4 = ComposerStaticInit525df3e329a675ac734f6c892aec722a::$prefixLengthsPsr4; 52 $loader->prefixDirsPsr4 = ComposerStaticInit525df3e329a675ac734f6c892aec722a::$prefixDirsPsr4; 53 $loader->classMap = ComposerStaticInit525df3e329a675ac734f6c892aec722a::$classMap; 53 54 54 55 }, null, ClassLoader::class); -
livechat-elementor/trunk/vendor/composer/installed.php
r3323322 r3323344 2 2 'root' => array( 3 3 'name' => 'livechatinc/wordpress-integration', 4 'pretty_version' => ' 0.1.0',5 'version' => ' 0.1.0.0',4 'pretty_version' => '5.0.6', 5 'version' => '5.0.6.0', 6 6 'reference' => null, 7 7 'type' => 'wordpress-module', … … 21 21 ), 22 22 'livechatinc/wordpress-integration' => array( 23 'pretty_version' => ' 0.1.0',24 'version' => ' 0.1.0.0',23 'pretty_version' => '5.0.6', 24 'version' => '5.0.6.0', 25 25 'reference' => null, 26 26 'type' => 'wordpress-module',
Note: See TracChangeset
for help on using the changeset viewer.