@ Claude
re: but it raise the question of putting php in the upload directory.
I suppose that does raise a good point. I can not remove this path because it’ll break templates for everyone who is using a custom template override file.
What I can do is add an additional path to look for a connections-templates/{template-slug}/
folder as a higher priority. I’ll be releasing version 8.5.15 shortly which contains this added path. So you should be able to simply move the folder down one level out of the uploads folder and it should just work. I did not actually test it since this is a relatively simple change. If you move it and it does not work, let me know, then I’ll test it.
Hope that helps!
ps. The uploads was only one of the folders you could use, you can also put it in the active theme’s folder. I’ve already made the doc change to state to put the folder within the wp-content instead of the uploads folder.