[wp-trac] Re: [WordPress Trac] #9561: plugins_dir() and plugins_basename() should also work for plugins in the MU plugins dir

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 23 21:11:26 GMT 2009


#9561: plugins_dir() and plugins_basename() should also work for plugins in the MU
plugins dir
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |        Owner:          
     Type:  enhancement        |       Status:  reopened
 Priority:  normal             |    Milestone:  2.8     
Component:  Plugins            |      Version:  2.8     
 Severity:  normal             |   Resolution:          
 Keywords:  has-patch tested   |  
-------------------------------+--------------------------------------------
Changes (by alexrabe):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 Since [11069] returns plugin_basename( dirname(__FILE__)) a slash at the
 beginning. If I'm not wrong then it's missing, see attached patch

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/9561#comment:3>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list