Skip to content

Commit c51106e

Browse files
committed
terms name warning fix
1 parent b5c56dc commit c51106e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/Generator/Generator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ protected static function generate_term_ids( $limit, $taxonomy, $name = '' ) {
7070
}
7171

7272
$words = str_word_count( $name, 1 );
73-
$extra_terms = str_word_count( implode( ' ', self::$faker->department( $limit ) ), 1 );
73+
$extra_terms = str_word_count( self::$faker->department( $limit ), 1 );
7474
$words = array_merge( $words, $extra_terms );
7575

7676
if ( 'product_cat' === $taxonomy ) {

0 commit comments

Comments
 (0)