[wp-trac] [WordPress Trac] #5665: plugin_basename() should use PLUGINDIR constant

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 14 13:58:05 GMT 2008


#5665: plugin_basename() should use PLUGINDIR constant
-----------------------+----------------------------------------------------
 Reporter:  hansengel  |       Owner:  hansengel              
     Type:  defect     |      Status:  new                    
 Priority:  normal     |   Milestone:  2.6                    
Component:  General    |     Version:                         
 Severity:  minor      |    Keywords:  has-patch needs-testing
-----------------------+----------------------------------------------------
 In {{{wp-includes/plugin.php}}}, the function {{{plugin_basename()}}} does
 not use the constant {{{PLUGINDIR}}}. Instead, it explicitly declares
 {{{wp-content/plugins}}} as the plugin directory. This should be changed
 so when the plugin directory is not at its default location,
 {{{plugin_basename()}}} will still work.

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


More information about the wp-trac mailing list