Plugin Directory

Changeset 3072804


Ignore:
Timestamp:
04/18/2024 07:19:11 AM (2 years ago)
Author:
api2cartdev
Message:

Updated to 2.5.2

Location:
api2cart-bridge-connector/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • api2cart-bridge-connector/trunk/connectorMain.php

    r3072579 r3072804  
    55Author: API2Cart
    66Author URI: https://api2cart.com/
    7 Version: 2.5.1
     7Version: 2.5.2
    88*/
    99
     
    173173    $isCustom  = get_option( A2CBC_BRIDGE_IS_CUSTOM_OPTION_NAME );
    174174    $bridgeUrl = $worker->getBridgeUrl();
    175     preg_match( "/define\( ?'(\w+)',\s*'([^']+)' ?\);/", $wp_filesystem->get_contents( $worker->bridgePath . '/bridge.php' ), $matches );
     175    preg_match( "/define\(\\s?'(\w+)',\s*'([^']*)'\\s?\);/", $wp_filesystem->get_contents( $worker->bridgePath . '/bridge.php' ), $matches );
    176176    $bridgeVersion = $matches[2];
    177177    $theme_version = wp_get_theme()->get( 'Version' );
    178178
    179     preg_match( "/define\('(\w+)',\s*'([^']+)'\);/", $wp_filesystem->get_contents( $worker->bridgePath . $worker->configFilePath ), $matches );
     179    preg_match( "/define\(\\s?'(\w+)',\s*'([^']*)'\\s?\);/", $wp_filesystem->get_contents( $worker->bridgePath . $worker->configFilePath ), $matches );
    180180
    181181    if ( empty( $matches[2] ) ) {
    182         $worker->updateToken( $storeKey, false );
     182        $worker->updateToken( $storeKey );
    183183    }
    184184
  • api2cart-bridge-connector/trunk/readme.txt

    r3072579 r3072804  
    8484= 2.5.0 =* Updated bridge to 153 version. Added product.add, product.update and product.image.add support using Woocommerce resources
    8585= 2.5.1 =* Fix token update
     86= 2.5.2 =* Fix bug
Note: See TracChangeset for help on using the changeset viewer.