Updated code to meet WordPress coding standards.