added braces to adhere to new WP coding standards