Update product name validation message (#47846)

* Update product name validation message

* Add changelog
This commit is contained in:
Fernando Marichal 2024-05-27 15:43:44 -03:00 committed by GitHub
parent 8894850ce1
commit 890fd87e7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,4 @@
Significance: minor
Type: dev
Update product name validation message #47846

View File

@ -83,7 +83,7 @@ export function NameBlockEdit( {
'name',
async function nameValidator() {
if ( ! name || name === AUTO_DRAFT_NAME ) {
return __( 'Name field is required.', 'woocommerce' );
return __( 'Product name is required.', 'woocommerce' );
}
if ( name.length > 120 ) {