[wp-trac] [WordPress Trac] #20974: Remove obsolete locale-specific files on upgrade
WordPress Trac
noreply at wordpress.org
Wed Feb 28 16:49:36 UTC 2024
#20974: Remove obsolete locale-specific files on upgrade
-------------------------------------------+-----------------------------
Reporter: SergeyBiryukov | Owner: dd32
Type: defect (bug) | Status: assigned
Priority: low | Milestone: Future Release
Component: I18N | Version: 3.4
Severity: normal | Resolution:
Keywords: has-patch needs-refresh close | Focuses:
-------------------------------------------+-----------------------------
Changes (by swissspidy):
* keywords: has-patch needs-refresh => has-patch needs-refresh close
Comment:
Not a fan of automatically deleting `<locale>.php` because `wp-
settings.php` automatically loads that file if it exists, and there can be
legacy systems where these files were manually added. That's why the new
translation file extension in 6.5 is `<locale>.l10n.php` and not just
`<locale>.php`.
SO if anyone has e.g. a custom `pt_BR.php` file, this change would break
their site.
Suggesting wontfix.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/20974#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list