[wp-trac] [WordPress Trac] #6763: wp-admin/includes/dashboard.php fails due to syntax error

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 17 21:26:24 GMT 2008


#6763: wp-admin/includes/dashboard.php fails due to syntax error
-----------------------------+----------------------------------------------
 Reporter:  christianthheim  |       Owner:  ryan 
     Type:  defect           |      Status:  new  
 Priority:  normal           |   Milestone:  2.5.1
Component:  General          |     Version:  2.5.1
 Severity:  normal           |    Keywords:       
-----------------------------+----------------------------------------------
 [17-Apr-2008 23:13:25] PHP Parse error:  syntax error, unexpected T_IF in
 /var/www/blog/wp-admin/includes/dashboard.php on line 8

  svn annotate tells me this:

   7722       ryan       $widget_options = get_option(
 'dashboard_widget_options' )
   7722       ryan       if ( !$widget_options ||
 !is_array($widget_options) )

 Basically, line 7 is missing the trailing ";"

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6763>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list