We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f50faa commit 534372eCopy full SHA for 534372e
src/block/progress-circle/deprecated.js
@@ -25,6 +25,15 @@ const addAriaLabel = ( divProps, version ) => {
25
addFilter( 'stackable.progress-circle.div-props', 'stackable/3.19.0', addAriaLabel )
26
27
const deprecated = [
28
+ {
29
+ // Trigger the migration for adding aria-label
30
+ attributes: attributes( '3.18.1' ),
31
+ // dev note: using withVersion HOC still results to a block validation error so we manually add the version here
32
+ save: ( props => {
33
+ props.version = '3.18.1'
34
+ return Save( props )
35
+ } ),
36
+ },
37
{
38
// Handle the migration of shadow attributes with the change of type in 3.15.3
39
attributes: attributes( '3.16.2' ),
0 commit comments