Update the version number of some methods in AbstractTemplateCompatibility (#47118)

* Update the version number of some methods in AbstractTemplateCompatibility

* Add changelog file
This commit is contained in:
Albert Juhé Lluveras 2024-05-03 13:14:18 +02:00 committed by GitHub
parent 420207a1d7
commit 2adde79286
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 4 deletions

View File

@ -0,0 +1,4 @@
Significance: patch
Type: fix
Update the version number of some methods in AbstractTemplateCompatibility

View File

@ -29,13 +29,13 @@ abstract class AbstractTemplateCompatibility {
add_filter(
'render_block_data',
function( $parsed_block, $source_block, $parent_block ) {
function ( $parsed_block, $source_block, $parent_block ) {
/**
* Filter to disable the compatibility layer for the blockified templates.
*
* This hook allows to disable the compatibility layer for the blockified templates.
*
* @since TBD
* @since 7.6.0
* @param boolean.
*/
$is_disabled_compatility_layer = apply_filters( 'woocommerce_disable_compatibility_layer', false );
@ -45,7 +45,6 @@ abstract class AbstractTemplateCompatibility {
}
return $this->update_render_block_data( $parsed_block, $source_block, $parent_block );
},
10,
3
@ -59,7 +58,7 @@ abstract class AbstractTemplateCompatibility {
*
* This hook allows to disable the compatibility layer for the blockified.
*
* @since TBD
* @since 7.6.0
* @param boolean.
*/
$is_disabled_compatility_layer = apply_filters( 'woocommerce_disable_compatibility_layer', false );