Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#6763 closed defect (bug) (fixed)

wp-admin/includes/dashboard.php fails due to syntax error

Reported by: christianthheim's profile christianthheim Owned by: ryan's profile ryan
Milestone: 2.5.1 Priority: normal
Severity: normal Version: 2.5.1
Component: General Keywords:
Focuses: Cc:

Description

[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 ";"

Change History (1)

#1 @ryan
17 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.