includes/class-wp-requirements.php
protected function set_params( $params ) {
		$this->requirements_details_url = ! empty( $params['requirements_details_url'] ) ? esc_url( trim( (string) $params['requirements_details_url'] ) ) : $this->requirements_details_url;
		$this->version_compare_operator = ! empty( $params['version_compare_operator'] ) ? (string) $params['version_compare_operator'] : $this->version_compare_operator;
		$this->not_valid_actions        = ! empty( $params['not_valid_actions'] ) ? (array) $params['not_valid_actions'] : $this->not_valid_actions;
		$this->show_valid_results       = isset( $params['show_valid_results'] ) ? (bool) $params['show_valid_results'] : $this->show_valid_results;
	}
protected function set_params( $params ) {
		$this->requirements_details_url = ! empty( $params['requirements_details_url'] ) ? esc_url( trim( (string) $params['requirements_details_url'] ) ) : $this->requirements_details_url;
		$this->version_compare_operator = ! empty( $params['version_compare_operator'] ) ? (string) $params['version_compare_operator'] : $this->version_compare_operator;
		$this->not_valid_actions        = ! empty( $params['not_valid_actions'] ) ? (array) $params['not_valid_actions'] : $this->not_valid_actions;
		$this->show_valid_results       = isset( $params['show_valid_results'] ) ? (bool) $params['show_valid_results'] : $this->show_valid_results;
	}
protected function set_params ( $ params ) { $ this -> requirements_details_url = ! empty ( $ params [ 'requirements_details_url' ] ) ? esc_url ( trim ( ( string ) $ params [ 'requirements_details_url' ] ) ) : $ this -> requirements_details_url ; $ this -> version_compare_operator = ! empty ( $ params [ 'version_compare_operator' ] ) ? ( string ) $ params [ 'version_compare_operator' ] : $ this -> version_compare_operator ; $ this -> not_valid_actions = ! empty ( $ params [ 'not_valid_actions' ] ) ? ( array ) $ params [ 'not_valid_actions' ] : $ this -> not_valid_actions ; $ this -> show_valid_results = isset ( $ params [ 'show_valid_results' ] ) ? ( bool ) $ params [ 'show_valid_results' ] : $ this -> show_valid_results ; }
Redefine all params by those that were submitted by a user.

@param array $params The array of parameters.
Redefine all params by those that were submitted by a user .