protected function WordPressComment::truncateName in WordPress Migrate 7.2
Names from Wordpress can be longer than 60 characters, truncate them.
File
- ./
wordpress_comment.inc, line 216 - Support for migrating comments from a WordPress blog into Drupal.
Class
- WordPressComment
- Implementation of WordPressMigration, for comments
Code
protected function truncateName($value) {
$value = substr($value, 0, 60);
return $value;
}