Closed
Description
Current behavior
When saving a snippet using the small 'Save Changes' button above the code editor, if the snippet us missing its name or its code, a dialog box should appear for confirmation.
Expected behavior
The dialog box works correctly in Core, but not Pro.
Steps to reproduce
- Snippets > Add New
- leave fields unchanged
- click the small 'Save Changes' button above the code editor.
- see how snippet saves without triggering dialog box.
WordPress version
Version 6.7.1
Code Snippets version
3.6.6.1
Code Snippets license
Pro
Anything else?
Originally raised by Generosus here: https://wordpress.org/support/topic/two-findings-v3-6-6-1/