Use correct method name

This commit is contained in:
claudiulodro 2017-05-17 09:15:49 -07:00
parent 72d41a21ca
commit adc8f4eacb
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ class WC_Product_CSV_Importer_Controller {
$file = $this->handle_upload();
if ( is_wp_error( $file ) ) {
$this->add_error( $file->get_message() );
$this->add_error( $file->get_error_message() );
return;
} else {
$this->file = $file;