Various code styling error fixes.

Fixes various code styling errors pointed out by PHP_CodeSniffer with the [WordPress Coding Standards](https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards)