PHP function fell outside PHP tags.

The function do_action() on line 983 did not have its enclosing PHP tags en thus displayed as pure text in the admin panel.