Coding standards update

* Add global `$wps_activated` helper
* Coding standards update