-
Notifications
You must be signed in to change notification settings - Fork 875
Extract notice functions into a shared helper #14899
Copy link
Copy link
Open
Labels
EnhancementChanges to an existing feature — removing, adding, or changing parts of itChanges to an existing feature — removing, adding, or changing parts of itTask[Focus] BlocksIssues related to the block editor, aka Gutenberg, and its extensions developed in JetpackIssues related to the block editor, aka Gutenberg, and its extensions developed in Jetpack[Pri] Low[Size] S
Metadata
Metadata
Assignees
Labels
EnhancementChanges to an existing feature — removing, adding, or changing parts of itChanges to an existing feature — removing, adding, or changing parts of itTask[Focus] BlocksIssues related to the block editor, aka Gutenberg, and its extensions developed in JetpackIssues related to the block editor, aka Gutenberg, and its extensions developed in Jetpack[Pri] Low[Size] S
As suggested by @jeherve in #14884 (comment), we should add a shared helper function for setting error notices, to reduce duplicate code.