Show correct confirmation message when removing an attribute from a product (#38355)
This commit is contained in:
parent
c99d60647e
commit
2992e22507
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
|
||||
Show correct confirmation message when removing an attribute from a product.
|
|
@ -646,7 +646,7 @@ jQuery( function ( $ ) {
|
|||
var $parent = $( this ).parent().parent();
|
||||
var confirmMessage = $parent
|
||||
.find( 'input[name^="attribute_variation"]' )
|
||||
.is( ':checked' )
|
||||
.is( ':visible:checked' )
|
||||
? woocommerce_admin_meta_boxes.i18n_remove_used_attribute_confirmation_message
|
||||
: woocommerce_admin_meta_boxes.remove_attribute;
|
||||
|
||||
|
|
Loading…
Reference in New Issue