original_string: 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 );
  		}
  	}
code: 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 );
  		}
  	}
code_tokens: 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 ) ; } }
docstring: Resolve flash errors for the display.
  
  @param string $name
docstring_tokens: Resolve flash errors for the display .