Improved the check for Pronamic event post archive/query.
WordPress Coding Standards optimizations.