ndiego / block-visibility

Conditional visibility controls for all WordPress blocks.
https://www.blockvisibilitywp.com
GNU General Public License v2.0
123 stars 10 forks source link

Warn user when content will get public on plugin deactivation #71

Open druxstr opened 1 year ago

druxstr commented 1 year ago

What problem does this address?

It's really easy to set custom visibility for some blocks and to forget about it.

If you do so, you may deactivate the plugin and make public some content without noticing.

What is your proposed solution?

If at least one block has a visibility option set, warn user before plugin deactivation. The message could be like :

You have at least one block with a visibility option set. Deactivating this plugin will make this content public.

It doesn't have to specify which blocks or where to find the blocks (even if this would be nice).