/**
  * WP_Requirements constructor.
  *
  * @param string $the__file__  Pass `__FILE__` from the loader.
  * @param array  $requirements The array of requirements.
  *                             Optional. If omitted, the wp-requirements.json file will be
  *                             searched for the requirements.
  */
 public function __construct($the__file__, array $requirements = array())
 {
     // Plugin information is always required, so get it now.
     $this->set_plugin($the__file__);
     // Requirements can be specified in JSON file.
     if (!count($requirements)) {
         $requirements = $this->load_json();
     }
     if (!self::$_translations_loaded) {
         $this->load_translations();
         self::$_translations_loaded = true;
     }
     // Heavy processing here.
     $this->validate_requirements($requirements);
 }