add extra_func code from 5.5, that was lost in a merge
Attach a file by drag & drop or click to upload