Merge pull request #12995 from todeveni/patch-2

Remove tilde from i
This commit is contained in:
Mike Jolley 2017-01-26 20:59:58 +00:00 committed by GitHub
commit 7e1dda6d92
1 changed files with 1 additions and 1 deletions

View File

@ -852,7 +852,7 @@ class WC_REST_Products_Controller extends WC_REST_Posts_Controller {
}
if ( ! wp_attachment_is_image( $attachment_id ) ) {
throw new WC_REST_Exception( 'woocommerce_product_ĩnvalid_image_id', sprintf( __( '#%s is an invalid image ID.', 'woocommerce' ), $attachment_id ), 400 );
throw new WC_REST_Exception( 'woocommerce_product_invalid_image_id', sprintf( __( '#%s is an invalid image ID.', 'woocommerce' ), $attachment_id ), 400 );
}
if ( isset( $image['position'] ) && 0 === $image['position'] ) {