Fix `AddToCartForm` translation on the `Single Product` block (#50628)
* Avoid registering block in the wrong context * Add changefile(s) from automation for the following project(s): woocommerce-blocks * Fix Product meta translations * Add changefile(s) from automation for the following project(s): woocommerce * Fix lint error * Remove AddToCartForm from the list of blocks to not register in posts * Add changefile(s) from automation for the following project(s): woocommerce --------- Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
parent
006fbc6714
commit
a512668e96
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: fix
|
||||
|
||||
Add to Cart with Options - Fix translation when used inside the Single Product block.
|
|
@ -424,7 +424,6 @@ final class BlockTypesController {
|
|||
$block_types = array_diff(
|
||||
$block_types,
|
||||
array(
|
||||
'AddToCartForm',
|
||||
'Breadcrumbs',
|
||||
'CatalogSorting',
|
||||
'ClassicTemplate',
|
||||
|
|
Loading…
Reference in New Issue