diff --git a/src/wp-admin/includes/class-wp-importer.php b/src/wp-admin/includes/class-wp-importer.php index aaed2e9d81..4c6d518f97 100644 --- a/src/wp-admin/includes/class-wp-importer.php +++ b/src/wp-admin/includes/class-wp-importer.php @@ -238,13 +238,13 @@ class WP_Importer { } /** - * 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 ); } /**