Redirect in merged files instead of pure deletion?
|Reported by:||TobiasBg||Owned by:||ryan|
Just a quick though that crossed my mind:
This could potentially break backward compatibility for some plugins that link to these files (i.e. a plugin that has a link to "create a new page").
My suggestion: Instead of plain deleting them, they could be reduced to something like a PHP redirect (header()) to the correct new page (with passed parameters from the query string conserved).
I.e. page.php could contain a header redirect to post.php?post_type=page(+rest of query string).)
At the same time the redirect should be marked as deprecated, so that noboby will set new links to it, but use the correct new file.