#61108 closed enhancement (fixed)
Pass `$locale` to the `load_translation_file` filter
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.6 | Priority: | normal |
Severity: | normal | Version: | 6.5 |
Component: | I18N | Keywords: | has-patch commit needs-dev-note |
Focuses: | Cc: |
Description
The load_translation_file
filter was introduced in 6.5. It would be useful to pass it the $locale
variable as a parameter, otherwise anything using the filter needs to recalculate the locale again by calling determine_locale()
.
Change History (5)
This ticket was mentioned in PR #6467 on WordPress/wordpress-develop by @johnbillion.
11 months ago
#1
- Keywords has-patch added; needs-patch removed
#4
@
10 months ago
- Owner set to johnbillion
- Resolution set to fixed
- Status changed from new to closed
In 58095:
@johnbillion commented on PR #6467:
10 months ago
#5
Note: See
TracTickets for help on using
tickets.
Can be added to the general i18n dev-note for 6.6