Changeset 1580881
- Timestamp:
- 01/24/2017 08:56:31 AM (9 years ago)
- Location:
- channelengine-woocommerce/trunk
- Files:
-
- 2 edited
-
admin/class-channel-engine-product-feed.php (modified) (2 diffs)
-
woocommerce-channel-engine.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
channelengine-woocommerce/trunk/admin/class-channel-engine-product-feed.php
r1577352 r1580881 34 34 35 35 $this->product_validation = $product_validation; 36 } 37 38 private function br2nl($string) { 39 return preg_replace('/<br\s*?\/?>|<\/p>/i', "\r\n", $string); 36 40 } 37 41 … … 71 75 $product['url'] = $wcProduct->get_permalink(); 72 76 $product['name'] = $item->post_title; 73 $product['description'] = strip_tags($ item->post_content);77 $product['description'] = strip_tags($this->br2nl($item->post_content)); 74 78 $product['stock'] = $wcProduct->get_stock_quantity(); 75 79 $product['gtin'] = $this->get($meta, $pr.'_gtin'); -
channelengine-woocommerce/trunk/woocommerce-channel-engine.php
r1577953 r1580881 4 4 Plugin URI: http://channelengine.net 5 5 Description: ChannelEngine plugin for WooCommerce 6 Version: 1. 36 Version: 1.4 7 7 Author: ChannelEngine 8 8 Author URI: http://channelengine.net
Note: See TracChangeset
for help on using the changeset viewer.