removed errors detected by phpcs using WordPress.com VIP standard