error message

This commit is contained in:
Mike Jolley 2017-05-26 16:56:37 +01:00
parent d9217b1d59
commit dbd0f3dce0
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ abstract class WC_Product_Importer implements WC_Importer_Interface {
// Stop if parent does not exists.
if ( ! $parent ) {
return new WP_Error( 'woocommerce_product_importer_missing_variation_parent_id', __( 'Missing parent ID or parent does not exist.', 'woocommerce' ), array( 'status' => 401 ) );
return new WP_Error( 'woocommerce_product_importer_missing_variation_parent_id', __( 'Variation cannot be imported: Missing parent ID or parent does not exist yet.', 'woocommerce' ), array( 'status' => 401 ) );
}
if ( isset( $data['raw_attributes'] ) ) {