Bug in NBT_Template_copier->copy_files()


There is a bug on this line in copier.php:
$template_attachments = get_posts( array( 'post_type' => 'attachment' ) );

It will only rewrite the GUID URL:s for 5 attachments, since that's the default number of posts get_posts() returns. It should say:

$template_attachments = get_posts( array( 'post_type' => 'attachment', 'numberposts' => -1 ) );

Would be great if this could be added in an upcoming version.