I'm aware that templates can reside in a subfolder of a theme since 3.4.
My theme has been about for a while and all our templates reside in the theme directory. I'd like to tidy this up by adding them to subfolders, but simply moving them will result in all the pages losing their templates. Which would be a pain to rectify for 40 templated pages or so...
Is there a wordpress filter, hook or other method that could be used for checking template location? Which I can use to check for missing templates? google is turning up nothing useful.
Does anyone have any other wordpress based ideas?
(I'm aware I could try running a query to update template locations, but I'd rather not modify the DB directly if I can avoid it.)