[wp-trac] Re: [WordPress Trac] #7479: Title missing from new get_plugin_data()

WordPress Trac wp-trac at lists.automattic.com
Fri Aug 8 12:45:17 GMT 2008


#7479: Title missing from new get_plugin_data()
--------------------------------+-------------------------------------------
 Reporter:  strider72           |        Owner:  anonymous
     Type:  defect              |       Status:  new      
 Priority:  normal              |    Milestone:  2.7      
Component:  Administration      |      Version:           
 Severity:  normal              |   Resolution:           
 Keywords:  plugins, has-patch  |  
--------------------------------+-------------------------------------------
Comment (by DD32):

 Hm..

 IMO, Maybe just return 'Name' and 'Title' as the same thing.. Else we
 might as well revert moving the display data entirely, Which would cause
 issues with Translations.. But would mean no code duplication..

 Can you give an example of a plugin which is using it directly?

 I'm thinking:
  * For backwards compat: return 'Title' and 'Name as the exact same
 string, with no formatting applied at all
  * Encourage any plugins which need to utilise that to do the
 Formatting/sanitization themselves & to support Plugin meta data
 translations.

 (And i knew there was something i forgot to mention when i wrote up that
 diff..)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7479#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list