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

WordPress Trac wp-trac at lists.automattic.com
Tue Oct 14 01:04:11 GMT 2008


#6341: feature request: plugin_baseurl() function
-------------------------------------+--------------------------------------
 Reporter:  Denis-de-Bernardy        |        Owner:  jacobsantos
     Type:  enhancement              |       Status:  closed     
 Priority:  low                      |    Milestone:  2.7        
Component:  Optimization             |      Version:  2.5        
 Severity:  minor                    |   Resolution:  worksforme 
 Keywords:  has-patch needs-testing  |  
-------------------------------------+--------------------------------------
Comment (by DD32):

 > I think this is addressed by plugins_url.

 It still however requires the plugin author to determine the folder its
 installed in, and then pass that folder to plugins_url() along with the
 file its after, Streamlining that with a  "relative to dirname(__FILE__)"
 might be a good idea though.

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


More information about the wp-trac mailing list