Modified code to reflect Wordpress coding standards. Also modified conditional check for a lines validity for the 'line-no-highlight' class so that it is easier to understand.