updates based on "WordPress Coding Standards for PHP_CodeSniffer" feedback