Opened 18 years ago
Closed 18 years ago
#9573 closed defect (bug) (fixed)
Plugin translation of plugin metadata broken
| Reported by: | DD32 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8 |
| Component: | Plugins | Version: | 2.7 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
As the title suggests, A Plugin can specify that its headers be translated via the TextDomain and DomainPath metadata headers, however, this is currently broken.
It appears that $plugin_file was forgotten to be passed to the function, causing the translation to never be loaded.
Patch attached mearly adds $plugin_file as the first arg. to the function, Since this function is designed for private calling only, backwards compatibility shouldn't be affected too much by this change.
Attachments (1)
Note:
See TracTickets
for help on using tickets.
(In [11002]) Fix translation of plugin metadata. Props DD32. fixes #9573