[wp-trac] [WordPress Trac] #9573: Plugin translation of plugin metadata broken

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 18 03:58:27 GMT 2009


#9573: Plugin translation of plugin metadata broken
--------------------------+-------------------------------------------------
 Reporter:  DD32          |       Owner:                  
     Type:  defect (bug)  |      Status:  new             
 Priority:  normal        |   Milestone:  2.8             
Component:  Plugins       |     Version:  2.7             
 Severity:  normal        |    Keywords:  has-patch commit
--------------------------+-------------------------------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9573>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list