protected function resolve_flash_errors( $name ) {
		if ( ! $this->session ) {
			return;
		}

		if ( ! $this->session->get( $name ) instanceof WP_Error ) {
			return;
		}

		$this->errors = new WP_Error;

		/* @var $errors \WP_Error */
		$errors = $this->session->get( $name );

		foreach ( $errors->errors as $key => $error ) {
			$this->add_error( $key, $error );
		}
	}
protected function resolve_flash_errors( $name ) {
		if ( ! $this->session ) {
			return;
		}

		if ( ! $this->session->get( $name ) instanceof WP_Error ) {
			return;
		}

		$this->errors = new WP_Error;

		/* @var $errors \WP_Error */
		$errors = $this->session->get( $name );

		foreach ( $errors->errors as $key => $error ) {
			$this->add_error( $key, $error );
		}
	}
protected function resolve_flash_errors ( $ name ) { if ( ! $ this -> session ) { return ; } if ( ! $ this -> session -> get ( $ name ) instanceof WP_Error ) { return ; } $ this -> errors = new WP_Error ; /* @var $errors \WP_Error */ $ errors = $ this -> session -> get ( $ name ) ; foreach ( $ errors -> errors as $ key => $ error ) { $ this -> add_error ( $ key , $ error ) ; } }
Resolve flash errors for the display.

@param string $name
Resolve flash errors for the display .