Skip to content

Commit abde1af

Browse files
fabiankaegyt-hamanoluisherranz
authored
iAPI: Update deprecation warning for unique ID format (#74580)
* Update deprecation warning for unique ID format * Update changelog --------- Co-authored-by: fabiankaegy <fabiankaegy@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: luisherranz <luisherranz@git.wordpress.org>
1 parent f23c203 commit abde1af

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

packages/interactivity/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
- Preserve boolean HTML attributes during client-side navigation. ([#74446](https://github.com/WordPress/gutenberg/pull/74446))
1010
- Fix and refactor runtime initialization logic. ([#71123](https://github.com/WordPress/gutenberg/pull/71123))
11+
- Update deprecation warning for unique ID format. ([#74580](https://github.com/WordPress/gutenberg/pull/74580))
1112

1213
## 6.36.0 (2025-11-26)
1314

@@ -50,7 +51,7 @@
5051

5152
### Deprecations
5253

53-
- Deprecated the `"data-wp-ignore"` directive of the Interactivity API.([#70945](https://github.com/WordPress/gutenberg/pull/70945))
54+
- Deprecated the `"data-wp-ignore"` directive of the Interactivity API.([#70945](https://github.com/WordPress/gutenberg/pull/70945))
5455
It is deprecated as of WordPress 6.9 and will be removed in version 7.0.
5556

5657
### Bug Fixes

packages/interactivity/src/directives.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const warnUniqueIdWithTwoHyphens = (
4646
warn(
4747
`The usage of data-wp-${ prefix }--${ suffix }${
4848
uniqueId ? `--${ uniqueId }` : ''
49-
} (two hyphens for unique ID) is deprecated and will stop working in WordPress 7.0. Please use data-wp-${ prefix }${
49+
} (two hyphens for unique ID) is deprecated and will stop working in WordPress 7.1. Please use data-wp-${ prefix }${
5050
uniqueId ? `--${ suffix }---${ uniqueId }` : `---${ suffix }`
5151
} (three hyphens for unique ID) from now on.`
5252
);

0 commit comments

Comments
 (0)