Changeset 3072804
- Timestamp:
- 04/18/2024 07:19:11 AM (2 years ago)
- Location:
- api2cart-bridge-connector/trunk
- Files:
-
- 2 edited
-
connectorMain.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
api2cart-bridge-connector/trunk/connectorMain.php
r3072579 r3072804 5 5 Author: API2Cart 6 6 Author URI: https://api2cart.com/ 7 Version: 2.5. 17 Version: 2.5.2 8 8 */ 9 9 … … 173 173 $isCustom = get_option( A2CBC_BRIDGE_IS_CUSTOM_OPTION_NAME ); 174 174 $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 ); 176 176 $bridgeVersion = $matches[2]; 177 177 $theme_version = wp_get_theme()->get( 'Version' ); 178 178 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 ); 180 180 181 181 if ( empty( $matches[2] ) ) { 182 $worker->updateToken( $storeKey , false);182 $worker->updateToken( $storeKey ); 183 183 } 184 184 -
api2cart-bridge-connector/trunk/readme.txt
r3072579 r3072804 84 84 = 2.5.0 =* Updated bridge to 153 version. Added product.add, product.update and product.image.add support using Woocommerce resources 85 85 = 2.5.1 =* Fix token update 86 = 2.5.2 =* Fix bug
Note: See TracChangeset
for help on using the changeset viewer.