Opened 16 years ago
Closed 16 years ago
#9573 closed defect (bug) (fixed)
Plugin translation of plugin metadata broken
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | 2.7 |
Component: | Plugins | Keywords: | has-patch commit |
Focuses: | Cc: |
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)
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [11002]) Fix translation of plugin metadata. Props DD32. fixes #9573