[wp-trac] Re: [WordPress Trac] #2781: Notice: Undefined variable: template in c:\Inetpub\wwwroot\wp\wp-admin\admin-functions.php on line 1504

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 31 11:42:23 GMT 2007


#2781: Notice: Undefined variable: template in c:\Inetpub\wwwroot\wp\wp-admin
\admin-functions.php on line 1504
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |        Owner:  westi
     Type:  defect             |       Status:  new  
 Priority:  normal             |    Milestone:  2.2  
Component:  Administration     |      Version:  2.0.2
 Severity:  normal             |   Resolution:       
 Keywords:  has-patch commit   |  
-------------------------------+--------------------------------------------
Changes (by westi):

  * keywords:  => has-patch commit

Comment:

 Attached patch removes the use of an undefined variable from the return of
 get_plugin_data and brings in some of the smaller changes from #3047

 Basically you can now easily access off of the plugin info the following
 extra data:
 {{{
 [PluginURI] => Straight from the comment in the plugin file.
 [AuthorURI] => Straight from the comment in the plugin file.
 [URL] => URL of the folder containing the plugin - to make creating urls
 to suborinate files easy
 [Path] => Absolute path of the folder containing the plugin - to make
 including easy etc.
 }}}

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


More information about the wp-trac mailing list