[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:39:07 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:                     |  
-------------------------------+--------------------------------------------
Changes (by westi):

  * status:  reopened => new
  * owner:  anonymous => westi

Comment:

 I can see this.

 get_plugin_data has dodgy vars as it looks very like a copy and paste
 error from loading template_data.

 Attaching a patch to fix this and make it return a few extra bits of
 usefull info for plugin authors to be able to use.

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


More information about the wp-trac mailing list