From 7cc847d661c1bf8fbb5f9e97b3bcbade41215fa6 Mon Sep 17 00:00:00 2001 From: Dave Smith Date: Tue, 23 Nov 2021 12:10:54 +0000 Subject: [PATCH 1/2] Add plugin meta data to deprecation notice Addresses feedback in https://github.com/WordPress/gutenberg/pull/36727#discussion_r755057979 --- packages/block-library/src/navigation-area/edit.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/block-library/src/navigation-area/edit.js b/packages/block-library/src/navigation-area/edit.js index 4fd6d59b42780a..95466617c92073 100644 --- a/packages/block-library/src/navigation-area/edit.js +++ b/packages/block-library/src/navigation-area/edit.js @@ -54,6 +54,7 @@ function NavigationAreaBlock( { attributes, setAttributes } ) { deprecated( 'wp.blockLibrary.NavigationArea', { since: '5.9', + plugin: 'gutenberg', } ); return ( From de98a75aa0fd2bd07416bdea14745415b32211dd Mon Sep 17 00:00:00 2001 From: Adam Zielinski Date: Tue, 23 Nov 2021 13:45:40 +0100 Subject: [PATCH 2/2] Update packages/block-library/src/navigation-area/edit.js --- packages/block-library/src/navigation-area/edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-library/src/navigation-area/edit.js b/packages/block-library/src/navigation-area/edit.js index 95466617c92073..ffee78ad8c982c 100644 --- a/packages/block-library/src/navigation-area/edit.js +++ b/packages/block-library/src/navigation-area/edit.js @@ -53,7 +53,7 @@ function NavigationAreaBlock( { attributes, setAttributes } ) { ); deprecated( 'wp.blockLibrary.NavigationArea', { - since: '5.9', + since: '12.0', plugin: 'gutenberg', } );