Remove duplicate Add to Cart Form block from Webpack entries (#50394)

* Remove duplicate Add to Cart Form block from Webpack entries

* Typo

* Add changelog file
This commit is contained in:
Albert Juhé Lluveras 2024-08-06 15:57:41 +02:00 committed by GitHub
parent a579e866b7
commit bd41bd34f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 2 deletions

View File

@ -16,7 +16,6 @@ const glob = require( 'glob' );
// when you mark/unmark block experimental.
const blocks = {
'active-filters': {},
'add-to-cart-form': {},
'all-products': {
customDir: 'products/all-products',
},

View File

@ -0,0 +1,5 @@
Significance: patch
Type: dev
Comment: Remove duplicate Add to Cart Form block from Webpack entries

View File

@ -192,7 +192,7 @@ class AddToCartForm extends AbstractBlock {
}
/**
* It isn't necessary register block assets because it is a server side block.
* It isn't necessary to register block assets because it is a server side block.
*/
protected function register_block_type_assets() {
return null;