remove trailing space
This commit is contained in:
parent
64476263b8
commit
71d7f2c1bb
|
@ -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, '://' ) ) {
|
||||||
|
|
Loading…
Reference in New Issue