Changes between Initial Version and Version 1 of Ticket #49196, comment 15
- Timestamp:
- 01/24/2020 01:51:46 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #49196, comment 15
initial v1 2 2 > I wasn't aware that the file location might be treated as a contract. If this is the case then we can consider keeping the current names and handle the rest differently. 3 3 4 Yeah, for better or for worse pretty much all files in WP are not "source" files, they are "production" files. "Architectural changes" like moving and/or renaming them isusually not a good idea :)4 Yeah, for better or for worse pretty much all files in WP are not "source" files, they are "production" files. "Architectural changes" like moving and/or renaming them are usually not a good idea :) 5 5 6 6 That's the reason why all the old js is moved back to the previous places when building, from `/scr/js` to `/build/wp-admin/js` and `/build/wp-includes/js` … … 8 8 > Another option would be to proxy old locations to the new one. 9 9 10 Yes, that's possible. Would probably requireto keep the existing files but then delete all the code there and just add `include [path to the moved/renamed file]`. However thinking this is a "last resort" solution for when a file has to be moved and there's absolutely no other way to do it.10 Yes, that's possible. Would probably need to keep the existing files but then delete all the code there and just add `include [path to the moved/renamed file]`. However thinking this is a "last resort" solution for when a file has to be moved and there's absolutely no other way to do it.