meta key small issue on custom field
-
Hi,
This is not a big issue but something you might look at sometime.Preface:
When creating a custom field and then you change your mind on the field type you want after you save it, you delete that field and start a new one. For me it was text field first then i deleted that because i wanted it to be a textarea field for the profile form.Issue:
However when i added a new field and gave it the same meta key (remember the old field was already deleted), it showed me and error and told me the key was already in the database and that it had to be unique.
Now the next part is kind of blurry to me as i don’t remember. But i was sitting there trying to think of a new key name and im not sure if i hit save or if it auto saved but the next thing i know i was back at the profile form field listing. When i opened up the field it had kept the same meta name and saved it perfectly.
So yes it saved it and yes it all worked out, but you might want to take a look at when that error shows up because it was no longer in the db but it said it was. Seems the error trigger may have a slight issue.
I hope that makes sense… ??
Great plugin, the more i learn about it the more i love it ?? Funny story i DL the member listing plugin only to discover you already have a members listing area in your plugin. Nice job i was very please to find that.. ??
- The topic ‘meta key small issue on custom field’ is closed to new replies.