You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
Testing with Plugin version: ``
Isolating the problem
This bug happens with only the Code Snippets plugin active (Free or Pro)
This bug happens with a Blank WordPress theme active. For example: (Hello theme)
I can reproduce this bug consistently following the steps above
Description
A duplicate slug produces an error and blanks out all entries of the snippet you are adding. It would be better to allow you to change the slug without losing the other information already entered on the page
Steps to reproduce
In my case, I was creating several snippets with subtle variations. One would add an ACF Repeater Field with bullets, the next without bullets, etc. I opened several new tabs so that I could copy in the data since most would be duplicated with minor changes. Copying the title auto-completed the slug which was the same as the first snippet. I pasted the rest of the information making the needed changes. Because I forgot to modify the slug, it threw an error when saving which then emptied all of the fields. It would be better to keep all of the information and so only the field needing correction needed to be updated.
Comments
reported by: Jim Hummel
The text was updated successfully, but these errors were encountered:
Prerequisites
Isolating the problem
Description
A duplicate slug produces an error and blanks out all entries of the snippet you are adding. It would be better to allow you to change the slug without losing the other information already entered on the page
Steps to reproduce
In my case, I was creating several snippets with subtle variations. One would add an ACF Repeater Field with bullets, the next without bullets, etc. I opened several new tabs so that I could copy in the data since most would be duplicated with minor changes. Copying the title auto-completed the slug which was the same as the first snippet. I pasted the rest of the information making the needed changes. Because I forgot to modify the slug, it threw an error when saving which then emptied all of the fields. It would be better to keep all of the information and so only the field needing correction needed to be updated.
Comments
reported by
: Jim HummelThe text was updated successfully, but these errors were encountered: