updated to wordpress coding standards