Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doAction when a deprecated feature is encountered (#8110)
* doAction when a deprecated feature is encountered * explicitly add hooks Dependency * reinitialize options to pass to action * reference hooks with file instead of version * Add dependecny for wp-hooks to wp-deprecated * clean up how options is constructed/deconstructed * fix spacing * add unit test for deprecation action * fix new test * include assertion for console warning * update package-lock.json for hooks in deprecated * document wp.deprecated hook * Hooks: Update hook name and add usage example * Add CHANGELOG.md file with the note about this feature * Change order of import statement groups in test file
- Loading branch information
1 parent
6de983e
commit a3eb955
Showing
7 changed files
with
66 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
## 1.1.0 (Unreleased) | ||
|
||
### New Feature | ||
|
||
- Call `doAction` hook when a deprecated feature is encountered ([#8110](https://github.com/WordPress/gutenberg/pull/8110)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters