wpengine / atlas-content-modeler

Content modeling plugin for WordPress
https://developers.wpengine.com/docs/atlas-content-modeler
GNU General Public License v2.0
165 stars 13 forks source link

MTKA-1535: Allow model singular and plural name case changes #590

Closed nickcernis closed 2 years ago

nickcernis commented 2 years ago

Description

Prevents “[singular|plural] name is in use” errors when editing a model's singular or plural names to change the case.

https://wpengine.atlassian.net/browse/MTKA-1535

Checklist

I have:

Testing

Includes unit tests to confirm the singular/plural case can be changed.

To test manually:

  1. Create a model.
  2. Edit the model and change its singular/plural name case (e.g. Rabbits → rabbits, Rabbit → rabbit).