Skip to content

Extract notice functions into a shared helper #14899

@scruffian

Description

@scruffian

As suggested by @jeherve in #14884 (comment), we should add a shared helper function for setting error notices, to reduce duplicate code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementChanges 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 Jetpack[Pri] Low[Size] S

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions