[wp-trac] Re: [WordPress Trac] #6341: feature request: plugin_baseurl() function

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 18 19:21:54 GMT 2009


#6341: feature request: plugin_baseurl() function
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |        Owner:  jacobsantos
     Type:  enhancement        |       Status:  closed     
 Priority:  low                |    Milestone:  2.8        
Component:  Optimization       |      Version:  2.7        
 Severity:  minor              |   Resolution:  invalid    
 Keywords:                     |  
-------------------------------+--------------------------------------------
Comment (by Denis-de-Bernardy):

 adding to this one, the above code isn't even relevant in some cases.
 picture a user installing a plugin that was supposed to be in a folder, in
 the plugins folder directly. i.e. wp-content/plugins/foo.php rather than
 wp-content/plugins/foo/foo.php. or, in the case of wpmu, something like:
 wp-content/mu-plugins/foo/foo.php

 I doubt plugins_url() or anything using it will fix the problem of
 extracting the "true" plugin folder.

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


More information about the wp-trac mailing list