Set $final variable to avoid parsing errors

This has been addressed elsewhere: https://core.trac.wordpress.org/attachment/ticket/15703/15703.diff