Skip to content

Warn when deactivating plugin while a media kit page is activeΒ #229

@peterwilsoncc

Description

@peterwilsoncc

Is your enhancement related to a problem? Please describe.

Deactivating the plugin while a media kit page is active will result in a broken design of the media kit page.

When a media kit page is published a warning should be displayed when deactivating the plugin to ensure site owners are aware that the page will be broken.

For bonus points, the check will evaluate the blocks of the publish page and bypass the warning if blocks created by this plugin are no longer used.

Designs

Something similar to the modal used by Distributor 10up/distributor#540

Describe alternatives you've considered

N/A

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    Status

    Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions