Opened 15 years ago
Closed 15 years ago
#17006 closed enhancement (fixed)
WP_LANG_DIR defaults to wp-includes/languages when wp-content/languages doesnt exist
| Reported by: | dd32 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.2 |
| Component: | I18N | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
Currently WP_LANG_DIR defaults to wp-includes/languages/ when WP_CONTENT_DIR/langages/ doesnt exist
This is done for back-compat when languages used to be stored there.
Ideally this should default to the current-generation location unless (for some reason) the user has files in the old location and nothing in the new location.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [17575]) Default WP_LANG_DIR to
WP_CONTENT_DIR/languageswhenwp-includes/languages/doesn't exist. Fixes #17006