optimize performance by moving version checks for WordPress and PHP to register_activation_hook(); run pro active check on admin pages only