remove trailing space

This commit is contained in:
Ron Rennick 2019-07-10 14:01:38 -03:00
parent 64476263b8
commit 71d7f2c1bb
1 changed files with 1 additions and 1 deletions

View File

@ -531,7 +531,7 @@ class WC_Product_CSV_Importer extends WC_Product_Importer {
} }
$images = array(); $images = array();
$separator = apply_filters( 'woocommerce_product_import_image_separator', ',' ); $separator = apply_filters( 'woocommerce_product_import_image_separator', ',' );
foreach ( $this->explode_values( $value, $separator ) as $image ) { foreach ( $this->explode_values( $value, $separator ) as $image ) {
if ( stristr( $image, '://' ) ) { if ( stristr( $image, '://' ) ) {