#3315 closed enhancement (fixed)
Language files in wp-content
Reported by: | Nazgul | Owned by: | Nazgul |
---|---|---|---|
Milestone: | 2.1 | Priority: | normal |
Severity: | normal | Version: | 2.1 |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
Currently language files have to be stored in wp-include/languages, while other "user content" like plugins and themes are in wp-content. It makes more sense (to me at least) to place language files in wp-content as well.
This also simplifies upgrading, because you don't have to remember to save/backup your language files, before deleting the wp-includes folder, as per the installation instructions.
Attachments (2)
Change History (11)
#1
@
18 years ago
- Keywords has-patch added
- Owner changed from anonymous to Nazgul
- Status changed from new to assigned
#5
@
18 years ago
In response to Ryan's comment:
Because future upgrades will overwrite the modified files, unless you want to manually update your files. Adding new files to wp-includes or wp-admin is a whole different arm, however.
Personally, I never delete my wp-includes directory, but keep my global functions in a file of its own inside that directory. Anyway, I like this patch. Nice work, Nazgul!
Attached patch uses wp-content/languages folder if it exists and falls back to wp-includes/languages if it doesn't.
This fallback keeps existing installations working.