Skip to content

[Beta] Specific to Codesnippets.cloud #4

@code-snippets-bot

Description

@code-snippets-bot

Prerequisites

  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions