Hi,
I changed the tag from custom_upload_dir to custom-upload-dir recently…
Meanwhile I got the latest version and the mentioned lines are gone, great! I didn’t look at the dev release before.
> grep post_id custom_upload_dir.php | wc -l
31
There might be a time machine in between… ??
Thanks for this great contribution to wordpress!