diff -r be944660c56a -r 3d72ae0968f4 wp/wp-admin/includes/class-wp-importer.php --- a/wp/wp-admin/includes/class-wp-importer.php Wed Sep 21 18:19:35 2022 +0200 +++ b/wp/wp-admin/includes/class-wp-importer.php Tue Sep 27 16:37:53 2022 +0200 @@ -238,13 +238,13 @@ } /** - * Replace newlines, tabs, and multiple spaces with a single space + * Replace newlines, tabs, and multiple spaces with a single space. * - * @param string $string + * @param string $text * @return string */ - public function min_whitespace( $string ) { - return preg_replace( '|[\r\n\t ]+|', ' ', $string ); + public function min_whitespace( $text ) { + return preg_replace( '|[\r\n\t ]+|', ' ', $text ); } /**