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:
parent
420207a1d7
commit
2adde79286
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
|
||||
Update the version number of some methods in AbstractTemplateCompatibility
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue