Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent multiple custom fields from being created #591

Merged
merged 3 commits into from
Mar 30, 2020

Conversation

cojennin
Copy link
Contributor

A fix for #588

For some reason, when post is a dependency of the Editorial Comment js, the custom fields get duplicated. Not sure why we have post as a dependency in the first place since all we use is wpAjax.

Also, created a quick e2e test to validate the creation of an editorial comment

@cojennin cojennin force-pushed the fix/multiple-custom-fields branch from 1d5e73a to 60537f1 Compare February 11, 2020 16:45
@cojennin cojennin added this to the 0.9.5 milestone Feb 20, 2020
@cojennin
Copy link
Contributor Author

e2e tests look good, going to merge

@cojennin cojennin merged commit 051854b into master Mar 30, 2020
@cojennin cojennin deleted the fix/multiple-custom-fields branch April 11, 2020 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant